mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc Reviewed-by: sspitsyn, stefank, jrose
This commit is contained in:
parent
f1f868513d
commit
6659245612
40 changed files with 800 additions and 383 deletions
|
@ -5232,7 +5232,7 @@ void CMSCollector::refProcessingWork() {
|
|||
GCTraceTime(Debug, gc, phases) t("Class Unloading", _gc_timer_cm);
|
||||
|
||||
// Unload classes and purge the SystemDictionary.
|
||||
bool purged_class = SystemDictionary::do_unloading(&_is_alive_closure);
|
||||
bool purged_class = SystemDictionary::do_unloading(&_is_alive_closure, _gc_timer_cm);
|
||||
|
||||
// Unload nmethods.
|
||||
CodeCache::do_unloading(&_is_alive_closure, purged_class);
|
||||
|
@ -5254,7 +5254,6 @@ void CMSCollector::refProcessingWork() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Restore any preserved marks as a result of mark stack or
|
||||
// work queue overflow
|
||||
restore_preserved_marks_if_any(); // done single-threaded for now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue