< prev index next >
src/share/vm/gc/shenandoah/shenandoahPartialGC.cpp
Print this page
rev 14453 : Remove secondary marking bitmap.
@@ -215,13 +215,13 @@
void work(uint worker_id) {
ShenandoahCollectionSet* cset = _heap->collection_set();
ShenandoahHeapRegion* r = cset->claim_next();
while (r != NULL) {
HeapWord* bottom = r->bottom();
- HeapWord* top = _heap->complete_top_at_mark_start(r->bottom());
+ HeapWord* top = _heap->top_at_mark_start(r->bottom());
if (top > bottom) {
- _heap->complete_mark_bit_map()->clear_range_large(MemRegion(bottom, top));
+ _heap->mark_bit_map()->clear_range_large(MemRegion(bottom, top));
}
r = cset->claim_next();
}
}
@@ -252,11 +252,11 @@
bool ShenandoahPartialGC::prepare() {
_heap->collection_set()->clear();
assert(_heap->collection_set()->count() == 0, "collection set not clear");
- _heap->ensure_parsability(true);
+ _heap->make_tlabs_parsable(true);
ShenandoahConnectionMatrix* matrix = _heap->connection_matrix();
if (UseShenandoahMatrix && PrintShenandoahMatrix) {
LogTarget(Info, gc) lt;
< prev index next >