< prev index next >

src/hotspot/share/gc/shared/weakProcessorPhases.cpp

Print this page

        

@@ -25,10 +25,11 @@
 #include "precompiled.hpp"
 #include "classfile/stringTable.hpp"
 #include "classfile/systemDictionary.hpp"
 #include "gc/shared/weakProcessorPhases.hpp"
 #include "prims/resolvedMethodTable.hpp"
+#include "runtime/continuation.hpp"
 #include "runtime/jniHandles.hpp"
 #include "utilities/debug.hpp"
 #include "utilities/macros.hpp"
 
 #if INCLUDE_JFR

@@ -81,10 +82,11 @@
   JFR_ONLY(case jfr: return "JFR weak processing";)
   case jni: return "JNI weak processing";
   case stringtable: return "StringTable weak processing";
   case resolved_method_table: return "ResolvedMethodTable weak processing";
   case vm: return "VM weak processing";
+  case nmethod_keepalive: return "NMethod keepalive (continuations)";
   default:
     ShouldNotReachHere();
     return "Invalid weak processing phase";
   }
 }

@@ -103,10 +105,11 @@
   switch (phase) {
   case jni: return JNIHandles::weak_global_handles();
   case stringtable: return StringTable::weak_storage();
   case resolved_method_table: return ResolvedMethodTable::weak_storage();
   case vm: return SystemDictionary::vm_weak_oop_storage();
+  case nmethod_keepalive: return Continuation::weak_storage();
   default:
     ShouldNotReachHere();
     return NULL;
   }
 }
< prev index next >