changeset 9396:b50583ca9567

Tread loop begins as safepoints during the verification phase
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Thu, 25 Apr 2013 11:56:24 +0200
parents b11c3539a1e9
children 05b8bfa40086
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/WriteBarrierVerificationPhase.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {