aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto
diff options
context:
space:
mode:
authorkvn <none@none>2012-09-19 13:58:31 -0700
committerkvn <none@none>2012-09-19 13:58:31 -0700
commit7d0c0bd927829af377be08fde00614829385c43f (patch)
treebc30898b6010ff22616991c3cb6d8db2af369b21 /src/share/vm/opto
parent60732516079b2d780aa69b2dfbfb079ec086a4ff (diff)
7198606: Improve VM optimization
Summary: Remove incorrect code in OptimizeFill optimization. Reviewed-by: roland, twisti
Diffstat (limited to 'src/share/vm/opto')
-rw-r--r--src/share/vm/opto/loopTransform.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/share/vm/opto/loopTransform.cpp b/src/share/vm/opto/loopTransform.cpp
index 8d88242ff..68bca9c36 100644
--- a/src/share/vm/opto/loopTransform.cpp
+++ b/src/share/vm/opto/loopTransform.cpp
@@ -2716,6 +2716,8 @@ bool PhaseIdealLoop::intrinsify_fill(IdealLoopTree* lpt) {
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);
@@ -2739,6 +2741,7 @@ bool PhaseIdealLoop::intrinsify_fill(IdealLoopTree* lpt) {
#endif
}
}
+*/
// Redirect the old control and memory edges that are outside the loop.
Node* exit = head->loopexit()->proj_out(0);