# HG changeset patch # User Christos Kotselidis # Date 1366883784 -7200 # Node ID b50583ca9567ff2330e512af4e58f2d1b6d97bb9 # Parent b11c3539a1e9376c30123960d665ab01c264faa1 Tread loop begins as safepoints during the verification phase diff -r b11c3539a1e9 -r b50583ca9567 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java Wed Apr 24 21:10:47 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java Thu Apr 25 11:56:24 2013 +0200 @@ -104,7 +104,7 @@ } private static boolean isSafepoint(Node node) { - return (node instanceof DeoptimizingNode) && ((DeoptimizingNode) node).canDeoptimize(); + return ((node instanceof DeoptimizingNode) && ((DeoptimizingNode) node).canDeoptimize()) || (node instanceof LoopBeginNode); } private static boolean foundCorrectBarrier(Node write, Node barrier) {