8206423: Use locking for cleaning ResolvedMethodTable

ServiceThread is now in charge of cleaning ResolvedMethodTable entries

Reviewed-by: gziemski, dholmes, coleenp
This commit is contained in:
Patricio Chilano Mateo 2018-08-21 10:37:02 -04:00
parent eca24bfb55
commit 4ef5590fa7
5 changed files with 31 additions and 33 deletions

View file

@ -1883,7 +1883,7 @@ bool SystemDictionary::do_unloading(GCTimer* gc_timer,
if (do_cleaning) {
GCTraceTime(Debug, gc, phases) t("ResolvedMethodTable", gc_timer);
ResolvedMethodTable::unlink();
ResolvedMethodTable::trigger_cleanup();
}
return unloading_occurred;