< prev index next >
src/share/vm/opto/graphKit.cpp
Print this page
@@ -4287,11 +4287,11 @@
// Not null path. Update the matrix.
// This uses a fast calculation for the matrix address. For a description,
// see src/share/vm/gc/shenandoah/shenandoahConnectionMatrix.inline.hpp,
// ShenandoahConnectionMatrix::compute_address(const void* from, const void* to).
- HeapWord* heap_base = ShenandoahHeap::heap()->first_region_bottom();
+ address heap_base = ShenandoahHeap::heap()->base();
jint stride = matrix->stride_jint();
jint rs = ShenandoahHeapRegion::region_size_shift_jint();
guarantee(stride < ShenandoahHeapRegion::region_size_bytes_jint(), "sanity");
guarantee(is_ptr_aligned(heap_base, ShenandoahHeapRegion::region_size_bytes()), "sanity");
< prev index next >