< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahUtils.cpp

Print this page

        

@@ -32,10 +32,11 @@
 #include "gc/shenandoah/shenandoahCollectorPolicy.hpp"
 #include "gc/shenandoah/shenandoahMarkCompact.hpp"
 #include "gc/shenandoah/shenandoahHeap.hpp"
 #include "gc/shenandoah/shenandoahHeuristics.hpp"
 #include "gc/shenandoah/shenandoahUtils.hpp"
+#include "utilities/debug.hpp"
 
 ShenandoahPhaseTimings::Phase ShenandoahGCPhase::_current_phase = ShenandoahGCPhase::_invalid_phase;
 
 ShenandoahGCSession::ShenandoahGCSession(GCCause::Cause cause) :
   _heap(ShenandoahHeap::heap()),

@@ -197,11 +198,12 @@
   {WeakProcessorPhases::jfr,                   ShenandoahPhaseTimings::JFRWeakRoots},
 #endif
   {WeakProcessorPhases::jni,                   ShenandoahPhaseTimings::JNIWeakRoots},
   {WeakProcessorPhases::stringtable,           ShenandoahPhaseTimings::StringTableRoots},
   {WeakProcessorPhases::resolved_method_table, ShenandoahPhaseTimings::ResolvedMethodTableRoots},
-  {WeakProcessorPhases::vm,                    ShenandoahPhaseTimings::VMWeakRoots}
+  {WeakProcessorPhases::vm,                    ShenandoahPhaseTimings::VMWeakRoots},
+  {WeakProcessorPhases::nmethod_keepalive,     ShenandoahPhaseTimings::NMethodKeepAliveRoots}
 };
 
 STATIC_ASSERT(sizeof(phase_mapping) / sizeof(PhaseMap) == WeakProcessorPhases::phase_count);
 
 void ShenandoahTimingConverter::weak_processing_timing_to_shenandoah_timing(WeakProcessorPhaseTimes* weak_processing_timings,
< prev index next >