< prev index next >

src/hotspot/share/gc/g1/g1CollectedHeap.cpp

Print this page
*** 74,10 ***
--- 74,11 ---
  #include "gc/g1/heapRegion.inline.hpp"
  #include "gc/g1/heapRegionRemSet.inline.hpp"
  #include "gc/g1/heapRegionSet.inline.hpp"
  #include "gc/shared/concurrentGCBreakpoints.hpp"
  #include "gc/shared/gcBehaviours.hpp"
+ #include "gc/shared/gcForwarding.hpp"
  #include "gc/shared/gcHeapSummary.hpp"
  #include "gc/shared/gcId.hpp"
  #include "gc/shared/gcLocker.inline.hpp"
  #include "gc/shared/gcTimer.hpp"
  #include "gc/shared/gcTraceTime.inline.hpp"

*** 1515,10 ***
--- 1516,12 ---
  
    evac_failure_injector()->reset();
  
    G1InitLogger::print();
  
+   GCForwarding::initialize(heap_rs.region(), HeapRegion::GrainWords);
+ 
    return JNI_OK;
  }
  
  bool G1CollectedHeap::concurrent_mark_is_terminating() const {
    return _cm_thread->should_terminate();
< prev index next >