49 static void item_added();
50 static void item_removed();
51
52 // Cleaning
53 static bool has_work() { return _has_work; }
54
55 // Cleaning and table management
56
57 static double get_load_factor();
58 static double get_dead_factor();
59
60 static void check_concurrent_work();
61 static void trigger_concurrent_work();
62 static void do_concurrent_work(JavaThread* jt);
63
64 static void grow(JavaThread* jt);
65 static void clean_dead_entries(JavaThread* jt);
66
67 // GC Notification
68
69 // Must be called before a parallel walk where objects might die.
70 static void reset_dead_counter();
71 // After the parallel walk this method must be called to trigger
72 // cleaning. Note it might trigger a resize instead.
73 static void finish_dead_counter();
74 // If GC uses ParState directly it should add the number of cleared
75 // entries to this method.
76 static void inc_dead_counter(size_t ndead);
77
78 // JVMTI Support - It is called at safepoint only for RedefineClasses
79 JVMTI_ONLY(static void adjust_method_entries(bool * trace_name_printed);)
80
81 // Debugging
82 static size_t items_count();
83 static void verify();
84 };
85
86 #endif // SHARE_PRIMS_RESOLVEDMETHODTABLE_HPP
|
49 static void item_added();
50 static void item_removed();
51
52 // Cleaning
53 static bool has_work() { return _has_work; }
54
55 // Cleaning and table management
56
57 static double get_load_factor();
58 static double get_dead_factor();
59
60 static void check_concurrent_work();
61 static void trigger_concurrent_work();
62 static void do_concurrent_work(JavaThread* jt);
63
64 static void grow(JavaThread* jt);
65 static void clean_dead_entries(JavaThread* jt);
66
67 // GC Notification
68
69 // After the parallel walk this method must be called to trigger
70 // cleaning. Note it might trigger a resize instead.
71 static void gc_notification(size_t num_dead);
72
73 // JVMTI Support - It is called at safepoint only for RedefineClasses
74 JVMTI_ONLY(static void adjust_method_entries(bool * trace_name_printed);)
75
76 // Debugging
77 static size_t items_count();
78 static void verify();
79 };
80
81 #endif // SHARE_PRIMS_RESOLVEDMETHODTABLE_HPP
|