< prev index next >

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

Print this page
*** 86,10 ***
--- 86,11 ---
  #include "gc/shared/isGCActiveMark.hpp"
  #include "gc/shared/locationPrinter.inline.hpp"
  #include "gc/shared/oopStorageParState.hpp"
  #include "gc/shared/preservedMarks.inline.hpp"
  #include "gc/shared/referenceProcessor.inline.hpp"
+ #include "gc/shared/slidingForwarding.hpp"
  #include "gc/shared/suspendibleThreadSet.hpp"
  #include "gc/shared/taskqueue.inline.hpp"
  #include "gc/shared/taskTerminator.hpp"
  #include "gc/shared/tlab_globals.hpp"
  #include "gc/shared/workerPolicy.hpp"

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