--- 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());
+ }
}
}