< prev index next >

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

Print this page
*** 83,12 ***
  #include "gc/shared/gcTimer.hpp"
  #include "gc/shared/gcTraceTime.inline.hpp"
  #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/suspendibleThreadSet.hpp"
  #include "gc/shared/taskqueue.inline.hpp"
  #include "gc/shared/taskTerminator.hpp"
  #include "gc/shared/tlab_globals.hpp"
  #include "gc/shared/workerPolicy.hpp"
--- 83,12 ---
  #include "gc/shared/gcTimer.hpp"
  #include "gc/shared/gcTraceTime.inline.hpp"
  #include "gc/shared/isGCActiveMark.hpp"
  #include "gc/shared/locationPrinter.inline.hpp"
  #include "gc/shared/oopStorageParState.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"

*** 1431,10 ***
--- 1431,12 ---
    CPUTimeCounters::create_counter(CPUTimeGroups::CPUTimeType::gc_conc_refine);
    CPUTimeCounters::create_counter(CPUTimeGroups::CPUTimeType::gc_service);
  
    G1InitLogger::print();
  
+   SlidingForwarding::initialize(heap_rs.region(), G1HeapRegion::GrainWords);
+ 
    return JNI_OK;
  }
  
  bool G1CollectedHeap::concurrent_mark_is_terminating() const {
    return _cm_thread->should_terminate();
< prev index next >