< prev index next >

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

Print this page

        

@@ -20,11 +20,10 @@
  * questions.
  *
  */
 
 #include "memory/allocation.hpp"
-#include "gc/g1/heapRegionBounds.inline.hpp"
 
 #include "gc/shared/gcTimer.hpp"
 #include "gc/shared/gcTraceTime.inline.hpp"
 #include "gc/shared/parallelCleaning.hpp"
 

@@ -2153,11 +2152,11 @@
   memset(_in_cset_fast_test_base, false,
          _in_cset_fast_test_length * sizeof(bool));
 }
 
 size_t ShenandoahHeap::conservative_max_heap_alignment() {
-  return HeapRegionBounds::max_size();
+  return ShenandoahMaxRegionSize;
 }
 
 size_t ShenandoahHeap::bytes_allocated_since_cm() {
   return _bytes_allocated_since_cm;
 }
< prev index next >