< prev index next >

src/share/vm/gc/shenandoah/shenandoahHeapRegion.cpp

Print this page
rev 13055 : Implement barriers for maintaining connection matrix.

*** 21,30 **** --- 21,31 ---- * */ #include "memory/allocation.hpp" #include "gc/shenandoah/brooksPointer.hpp" + #include "gc/shenandoah/shenandoahConnectionMatrix.hpp" #include "gc/shenandoah/shenandoahHeap.hpp" #include "gc/shenandoah/shenandoahHeap.inline.hpp" #include "gc/shenandoah/shenandoahHeapRegion.hpp" #include "gc/shared/space.inline.hpp" #include "memory/universe.hpp"
*** 252,261 **** --- 253,263 ---- // Reset C-TAMS pointer to ensure size-based iteration, everything // in that regions is going to be new objects. _heap->set_complete_top_at_mark_start(bottom(), bottom()); // We can only safely reset the C-TAMS pointer if the bitmap is clear for that region. assert(_heap->is_complete_bitmap_clear_range(bottom(), end()), "must be clear"); + _heap->connection_matrix()->clear_region(region_number()); } HeapWord* ShenandoahHeapRegion::block_start_const(const void* p) const { assert(MemRegion(bottom(), end()).contains(p), "p ("PTR_FORMAT") not in space ["PTR_FORMAT", "PTR_FORMAT")",
< prev index next >