hg: hsx/hotspot-comp/hotspot: 8007294: ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution

roland.westrelin at oracle.com roland.westrelin at oracle.com
Mon Feb 25 08:38:05 PST 2013


Changeset: 6931f425c517
Author:    roland
Date:      2013-02-25 14:13 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/6931f425c517

8007294: ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
Summary: InitializeNode::can_capture_store() must check that the captured store doesn't overwrite a memory location that is loaded before the store.
Reviewed-by: kvn

! src/share/vm/opto/memnode.cpp
! src/share/vm/opto/memnode.hpp
! src/share/vm/opto/node.cpp
! src/share/vm/opto/phaseX.cpp
+ test/compiler/8007294/Test8007294.java



More information about the hotspot-compiler-dev mailing list