comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 2177:3582bf76420e

6990754: Use native memory and reference counting to implement SymbolTable Summary: move symbols from permgen into C heap and reference count them Reviewed-by: never, acorn, jmasa, stefank
author coleenp
date Thu, 27 Jan 2011 16:11:27 -0800
parents 9afee0b9fc1d
children c5a923563727
comparison
equal deleted inserted replaced
2176:27e4ea99855d 2177:3582bf76420e
5919 verify_work_stacks_empty(); 5919 verify_work_stacks_empty();
5920 } 5920 }
5921 5921
5922 { 5922 {
5923 TraceTime t("scrub symbol & string tables", PrintGCDetails, false, gclog_or_tty); 5923 TraceTime t("scrub symbol & string tables", PrintGCDetails, false, gclog_or_tty);
5924 // Now clean up stale oops in SymbolTable and StringTable 5924 // Now clean up stale oops in StringTable
5925 SymbolTable::unlink(&_is_alive_closure);
5926 StringTable::unlink(&_is_alive_closure); 5925 StringTable::unlink(&_is_alive_closure);
5926 // Clean up unreferenced symbols in symbol table.
5927 SymbolTable::unlink();
5927 } 5928 }
5928 } 5929 }
5929 5930
5930 verify_work_stacks_empty(); 5931 verify_work_stacks_empty();
5931 // Restore any preserved marks as a result of mark stack or 5932 // Restore any preserved marks as a result of mark stack or