Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/concurrentMark.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 | 81668b1f4877 |
children | 1216415d8e35 |
comparison
equal
deleted
inserted
replaced
2176:27e4ea99855d | 2177:3582bf76420e |
---|---|
2189 } | 2189 } |
2190 | 2190 |
2191 rp->verify_no_references_recorded(); | 2191 rp->verify_no_references_recorded(); |
2192 assert(!rp->discovery_enabled(), "should have been disabled"); | 2192 assert(!rp->discovery_enabled(), "should have been disabled"); |
2193 | 2193 |
2194 // Now clean up stale oops in SymbolTable and StringTable | 2194 // Now clean up stale oops in StringTable |
2195 SymbolTable::unlink(&g1_is_alive); | |
2196 StringTable::unlink(&g1_is_alive); | 2195 StringTable::unlink(&g1_is_alive); |
2196 // Clean up unreferenced symbols in symbol table. | |
2197 SymbolTable::unlink(); | |
2197 } | 2198 } |
2198 | 2199 |
2199 void ConcurrentMark::swapMarkBitMaps() { | 2200 void ConcurrentMark::swapMarkBitMaps() { |
2200 CMBitMapRO* temp = _prevMarkBitMap; | 2201 CMBitMapRO* temp = _prevMarkBitMap; |
2201 _prevMarkBitMap = (CMBitMapRO*)_nextMarkBitMap; | 2202 _prevMarkBitMap = (CMBitMapRO*)_nextMarkBitMap; |