< prev index next >

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

Print this page
*** 81,10 ***
--- 81,11 ---
  class HeapRegion;
  class MemoryPool;
  class nmethod;
  class ReferenceProcessor;
  class STWGCTimer;
+ class SlidingForwarding;
  class WorkerThreads;
  
  typedef OverflowTaskQueue<ScannerTask, mtGC>           G1ScannerTasksQueue;
  typedef GenericTaskQueueSet<G1ScannerTasksQueue, mtGC> G1ScannerTasksQueueSet;
  

*** 225,10 ***
--- 226,12 ---
    G1EvacStats _old_evac_stats;
  
    // Helper for monitoring and management support.
    G1MonitoringSupport* _monitoring_support;
  
+   SlidingForwarding* _forwarding;
+ 
    // Records whether the region at the given index is (still) a
    // candidate for eager reclaim.  Only valid for humongous start
    // regions; other regions have unspecified values.  Humongous start
    // regions are initialized at start of collection pause, with
    // candidates removed from the set as they are found reachable from

*** 260,10 ***
--- 263,14 ---
  
    bool should_sample_collection_set_candidates() const;
    void set_collection_set_candidates_stats(G1SegmentedArrayMemoryStats& stats);
    void set_young_gen_card_set_stats(const G1SegmentedArrayMemoryStats& stats);
  
+   SlidingForwarding* forwarding() const {
+     return _forwarding;
+   }
+ 
  private:
  
    G1HRPrinter _hr_printer;
  
    // Return true if an explicit GC should start a concurrent cycle instead
< prev index next >