--- old/src/hotspot/share/prims/resolvedMethodTable.hpp 2018-08-28 17:31:19.244758989 -0400 +++ new/src/hotspot/share/prims/resolvedMethodTable.hpp 2018-08-28 17:31:18.783716161 -0400 @@ -56,8 +56,7 @@ _table_size = 1007 }; - static int _oops_removed; - static int _oops_counted; + static int total_oops_removed; static bool _dead_entries; @@ -95,6 +94,8 @@ static bool has_work() { return _dead_entries; } static void trigger_cleanup(); + static int removed_entries_count() { return total_oops_removed; }; + #if INCLUDE_JVMTI // It is called at safepoint only for RedefineClasses static void adjust_method_entries(bool * trace_name_printed);