< prev index next >

src/hotspot/share/gc/serial/serialHeap.cpp

Print this page
*** 52,10 ***
--- 52,11 ---
  #include "gc/shared/locationPrinter.inline.hpp"
  #include "gc/shared/oopStorage.inline.hpp"
  #include "gc/shared/oopStorageParState.inline.hpp"
  #include "gc/shared/oopStorageSet.inline.hpp"
  #include "gc/shared/scavengableNMethods.hpp"
+ #include "gc/shared/slidingForwarding.hpp"
  #include "gc/shared/space.hpp"
  #include "gc/shared/strongRootsScope.hpp"
  #include "gc/shared/suspendibleThreadSet.hpp"
  #include "gc/shared/weakProcessor.hpp"
  #include "gc/shared/workerThread.hpp"

*** 199,10 ***
--- 200,12 ---
    _young_gen = new DefNewGeneration(young_rs, NewSize, MinNewSize, MaxNewSize);
    _old_gen = new TenuredGeneration(old_rs, OldSize, MinOldSize, MaxOldSize, rem_set());
  
    GCInitLogger::print();
  
+   SlidingForwarding::initialize(_reserved, SpaceAlignment / HeapWordSize);
+ 
    return JNI_OK;
  }
  
  ReservedHeapSpace SerialHeap::allocate(size_t alignment) {
    // Now figure out the total size.
< prev index next >