# HG changeset patch # User kvn # Date 1348114450 25200 # Node ID 5da7e3791b0d3b2930dffa33e51c73fb93697a41 # Parent f43620c8febcc6a1f8d6e31234358468c3979159 7198606: Improve VM optimization Reviewed-by: roland, twisti diff -r f43620c8febc -r 5da7e3791b0d src/share/vm/opto/loopTransform.cpp --- a/src/share/vm/opto/loopTransform.cpp Fri Oct 12 14:26:47 2012 +0100 +++ b/src/share/vm/opto/loopTransform.cpp Wed Sep 19 21:14:10 2012 -0700 @@ -2733,6 +2733,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); @@ -2756,6 +2758,7 @@ #endif } } +*/ // Redirect the old control and memory edges that are outside the loop. Node* exit = head->loopexit()->proj_out(0);