1.1 --- a/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp Thu Jan 27 13:42:28 2011 -0800 1.2 +++ b/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp Thu Jan 27 16:11:27 2011 -0800 1.3 @@ -172,9 +172,10 @@ 1.4 assert(GenMarkSweep::_marking_stack.is_empty(), "just drained"); 1.5 1.6 1.7 - // Visit symbol and interned string tables and delete unmarked oops 1.8 - SymbolTable::unlink(&GenMarkSweep::is_alive); 1.9 + // Visit interned string tables and delete unmarked oops 1.10 StringTable::unlink(&GenMarkSweep::is_alive); 1.11 + // Clean up unreferenced symbols in symbol table. 1.12 + SymbolTable::unlink(); 1.13 1.14 assert(GenMarkSweep::_marking_stack.is_empty(), 1.15 "stack should be empty by now");