comparison src/share/vm/memory/genMarkSweep.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 1d1603768966
comparison
equal deleted inserted replaced
2176:27e4ea99855d 2177:3582bf76420e
294 294
295 // Visit memoized MDO's and clear any unmarked weak refs 295 // Visit memoized MDO's and clear any unmarked weak refs
296 follow_mdo_weak_refs(); 296 follow_mdo_weak_refs();
297 assert(_marking_stack.is_empty(), "just drained"); 297 assert(_marking_stack.is_empty(), "just drained");
298 298
299 // Visit symbol and interned string tables and delete unmarked oops 299 // Visit interned string tables and delete unmarked oops
300 SymbolTable::unlink(&is_alive);
301 StringTable::unlink(&is_alive); 300 StringTable::unlink(&is_alive);
301 // Clean up unreferenced symbols in symbol table.
302 SymbolTable::unlink();
302 303
303 assert(_marking_stack.is_empty(), "stack should be empty by now"); 304 assert(_marking_stack.is_empty(), "stack should be empty by now");
304 } 305 }
305 306
306 307