diff -r a9938374a9f4 -r 2d3e99a72541 src/hotspot/share/runtime/thread.cpp --- a/src/hotspot/share/runtime/thread.cpp Wed Jun 27 16:57:21 2018 -0700 +++ b/src/hotspot/share/runtime/thread.cpp Wed Jun 27 17:02:41 2018 -0700 @@ -1501,7 +1501,7 @@ #if INCLUDE_JVMCI _pending_monitorenter = false; _pending_deoptimization = -1; - _pending_failed_speculation = NULL; + _pending_failed_speculation = 0; _pending_transfer_to_interpreter = false; _adjusting_comp_level = false; _jvmci._alternate_call_target = NULL; @@ -2770,8 +2770,6 @@ // Traverse the GCHandles Thread::oops_do(f, cf); - JVMCI_ONLY(f->do_oop((oop*)&_pending_failed_speculation);) - assert((!has_last_Java_frame() && java_call_counter() == 0) || (has_last_Java_frame() && java_call_counter() > 0), "wrong java_sp info!");