< prev index next >

src/hotspot/share/c1/c1_Runtime1.cpp

Print this page

        

@@ -54,10 +54,11 @@
 #include "oops/objArrayKlass.hpp"
 #include "oops/oop.inline.hpp"
 #include "runtime/atomic.hpp"
 #include "runtime/biasedLocking.hpp"
 #include "runtime/compilationPolicy.hpp"
+#include "runtime/continuation.hpp"
 #include "runtime/fieldDescriptor.inline.hpp"
 #include "runtime/frame.inline.hpp"
 #include "runtime/handles.inline.hpp"
 #include "runtime/interfaceSupport.inline.hpp"
 #include "runtime/javaCalls.hpp"

@@ -341,10 +342,14 @@
   FUNCTION_CASE(entry, StubRoutines::dlog10());
   FUNCTION_CASE(entry, StubRoutines::dpow());
   FUNCTION_CASE(entry, StubRoutines::dsin());
   FUNCTION_CASE(entry, StubRoutines::dcos());
   FUNCTION_CASE(entry, StubRoutines::dtan());
+  FUNCTION_CASE(entry, StubRoutines::cont_getPC());
+  FUNCTION_CASE(entry, StubRoutines::cont_thaw());
+  FUNCTION_CASE(entry, StubRoutines::cont_doYield());
+  FUNCTION_CASE(entry, StubRoutines::cont_jump());
 
 #undef FUNCTION_CASE
 
   // Soft float adds more runtime names.
   return pd_name_for_address(entry);

@@ -1276,10 +1281,11 @@
     nmethod* nm = CodeCache::find_nmethod(caller_frame.pc());
     guarantee(nm != NULL, "only nmethods can contain non-perm oops");
 
     // Since we've patched some oops in the nmethod,
     // (re)register it with the heap.
+    Continuation::nmethod_patched(nm);
     Universe::heap()->register_nmethod(nm);
   }
 JRT_END
 
 #else // DEOPTIMIZE_WHEN_PATCHING
< prev index next >