mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6990754: Use native memory and reference counting to implement SymbolTable
Move symbols from permgen into C heap and reference count them Reviewed-by: never, acorn, jmasa, stefank
This commit is contained in:
parent
950858350d
commit
7b4f8073f0
223 changed files with 3783 additions and 3641 deletions
|
@ -5921,9 +5921,10 @@ void CMSCollector::refProcessingWork(bool asynch, bool clear_all_soft_refs) {
|
|||
|
||||
{
|
||||
TraceTime t("scrub symbol & string tables", PrintGCDetails, false, gclog_or_tty);
|
||||
// Now clean up stale oops in SymbolTable and StringTable
|
||||
SymbolTable::unlink(&_is_alive_closure);
|
||||
// Now clean up stale oops in StringTable
|
||||
StringTable::unlink(&_is_alive_closure);
|
||||
// Clean up unreferenced symbols in symbol table.
|
||||
SymbolTable::unlink();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue