src/hotspot/share/gc/shared/weakProcessor.inline.hpp
changeset 54511 fbfcebad8e66
parent 53702 50a5d0353570
child 57828 35db8fba55f9
--- a/src/hotspot/share/gc/shared/weakProcessor.inline.hpp	Wed Apr 10 15:41:03 2019 +0200
+++ b/src/hotspot/share/gc/shared/weakProcessor.inline.hpp	Wed Apr 10 15:41:04 2019 +0200
@@ -32,6 +32,7 @@
 #include "gc/shared/weakProcessorPhases.hpp"
 #include "gc/shared/weakProcessorPhaseTimes.hpp"
 #include "gc/shared/workgroup.hpp"
+#include "prims/resolvedMethodTable.hpp"
 #include "utilities/debug.hpp"
 
 class BoolObjectClosure;
@@ -115,6 +116,9 @@
       if (WeakProcessorPhases::is_stringtable(phase)) {
         StringTable::inc_dead_counter(cl.num_dead() + cl.num_skipped());
       }
+      if (WeakProcessorPhases::is_resolved_method_table(phase)) {
+        ResolvedMethodTable::inc_dead_counter(cl.num_dead() + cl.num_skipped());
+      }
     }
   }