< prev index next >

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

Print this page

        

*** 25,34 **** --- 25,35 ---- #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,90 **** --- 82,92 ---- 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,112 **** --- 105,115 ---- 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 >