diff a/src/hotspot/share/prims/resolvedMethodTable.hpp b/src/hotspot/share/prims/resolvedMethodTable.hpp --- a/src/hotspot/share/prims/resolvedMethodTable.hpp +++ b/src/hotspot/share/prims/resolvedMethodTable.hpp @@ -64,18 +64,13 @@ static void grow(JavaThread* jt); static void clean_dead_entries(JavaThread* jt); // GC Notification - // Must be called before a parallel walk where objects might die. - static void reset_dead_counter(); // After the parallel walk this method must be called to trigger // cleaning. Note it might trigger a resize instead. - static void finish_dead_counter(); - // If GC uses ParState directly it should add the number of cleared - // entries to this method. - static void inc_dead_counter(size_t ndead); + static void gc_notification(size_t num_dead); // JVMTI Support - It is called at safepoint only for RedefineClasses JVMTI_ONLY(static void adjust_method_entries(bool * trace_name_printed);) // Debugging