changeset 2439:b122c11c6c5f jdk6-b27

7198606: Improve VM optimization Summary: Remove incorrect code in OptimizeFill optimization. Reviewed-by: roland, twisti
author kvn
date Wed, 19 Sep 2012 13:58:31 -0700
parents 15ddddb87e6c
children cd74fab0a5e3
files src/share/vm/opto/loopTransform.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/loopTransform.cpp	Tue Jun 19 15:45:14 2012 -0700
+++ b/src/share/vm/opto/loopTransform.cpp	Wed Sep 19 13:58:31 2012 -0700
@@ -2721,6 +2721,8 @@
   result_mem = new (C, 1) ProjNode(call,TypeFunc::Memory);
   _igvn.register_new_node_with_optimizer(result_mem);
 
+/* Disable following optimization until proper fix (add missing checks).
+
   // If this fill is tightly coupled to an allocation and overwrites
   // the whole body, allow it to take over the zeroing.
   AllocateNode* alloc = AllocateNode::Ideal_allocation(base, this);
@@ -2744,6 +2746,7 @@
 #endif
     }
   }
+*/
 
   // Redirect the old control and memory edges that are outside the loop.
   Node* exit = head->loopexit()->proj_out(0);