< prev index next >

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

Print this page
*** 84,10 ***
--- 84,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"

*** 1438,10 ***
--- 1439,12 ---
    CPUTimeCounters::create_counter(CPUTimeGroups::CPUTimeType::gc_conc_refine);
    CPUTimeCounters::create_counter(CPUTimeGroups::CPUTimeType::gc_service);
  
    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 >