comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 2379:b099aaf51bf8

6962931: move interned strings out of the perm gen Reviewed-by: never, coleenp, ysr, jwilhelm
author jcoomes
date Tue, 22 Mar 2011 13:36:33 -0700
parents 92da084fefc9
children 1f4413413144
comparison
equal deleted inserted replaced
2378:924777755fad 2379:b099aaf51bf8
5928 cmsDrainMarkingStackClosure.do_void(); 5928 cmsDrainMarkingStackClosure.do_void();
5929 verify_work_stacks_empty(); 5929 verify_work_stacks_empty();
5930 } 5930 }
5931 5931
5932 { 5932 {
5933 TraceTime t("scrub symbol & string tables", PrintGCDetails, false, gclog_or_tty); 5933 TraceTime t("scrub symbol table", PrintGCDetails, false, gclog_or_tty);
5934 // Now clean up stale oops in StringTable
5935 StringTable::unlink(&_is_alive_closure);
5936 // Clean up unreferenced symbols in symbol table. 5934 // Clean up unreferenced symbols in symbol table.
5937 SymbolTable::unlink(); 5935 SymbolTable::unlink();
5938 } 5936 }
5937 }
5938
5939 if (should_unload_classes() || !JavaObjectsInPerm) {
5940 TraceTime t("scrub string table", PrintGCDetails, false, gclog_or_tty);
5941 // Now clean up stale oops in StringTable
5942 StringTable::unlink(&_is_alive_closure);
5939 } 5943 }
5940 5944
5941 verify_work_stacks_empty(); 5945 verify_work_stacks_empty();
5942 // Restore any preserved marks as a result of mark stack or 5946 // Restore any preserved marks as a result of mark stack or
5943 // work queue overflow 5947 // work queue overflow