hotspot/src/cpu/x86/vm/frame_x86.inline.hpp
changeset 33160 c59f1676d27e
parent 30305 b92a97e1e9cb
child 35214 d86005e0b4c2
--- a/hotspot/src/cpu/x86/vm/frame_x86.inline.hpp	Thu Oct 08 10:25:45 2015 +0000
+++ b/hotspot/src/cpu/x86/vm/frame_x86.inline.hpp	Thu Oct 08 12:49:30 2015 -1000
@@ -78,7 +78,11 @@
     assert(((nmethod*)_cb)->insts_contains(_pc), "original PC must be in nmethod");
     _deopt_state = is_deoptimized;
   } else {
-    _deopt_state = not_deoptimized;
+    if (_cb->is_deoptimization_stub()) {
+      _deopt_state = is_deoptimized;
+    } else {
+      _deopt_state = not_deoptimized;
+    }
   }
 }