< prev index next >

src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp

Print this page
*** 37,10 ***
--- 37,11 ---
  #include "gc/shared/gcLocker.inline.hpp"
  #include "gc/shared/gcWhen.hpp"
  #include "gc/shared/genArguments.hpp"
  #include "gc/shared/locationPrinter.inline.hpp"
  #include "gc/shared/scavengableNMethods.hpp"
+ #include "gc/shared/slidingForwarding.inline.hpp"
  #include "gc/shared/suspendibleThreadSet.hpp"
  #include "logging/log.hpp"
  #include "memory/iterator.hpp"
  #include "memory/metaspaceCounters.hpp"
  #include "memory/metaspaceUtils.hpp"

*** 127,10 ***
--- 128,12 ---
    // Create CPU time counter
    CPUTimeCounters::create_counter(CPUTimeGroups::CPUTimeType::gc_parallel_workers);
  
    ParallelInitLogger::print();
  
+   SlidingForwarding::initialize(heap_rs.region(), ParallelCompactData::RegionSize);
+ 
    return JNI_OK;
  }
  
  void ParallelScavengeHeap::initialize_serviceability() {
  
< prev index next >