< prev index next >

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

Print this page
*** 85,10 ***
--- 85,11 ---
  class G1ConcurrentMark;
  class G1ConcurrentMarkThread;
  class G1ConcurrentRefine;
  class GenerationCounters;
  class STWGCTimer;
+ class SlidingForwarding;
  class G1NewTracer;
  class EvacuationFailedInfo;
  class nmethod;
  class WorkGang;
  class G1Allocator;

*** 235,10 ***
--- 236,12 ---
    bool _expand_heap_after_alloc_failure;
  
    // Helper for monitoring and management support.
    G1MonitoringSupport* _g1mm;
  
+   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

*** 264,10 ***
--- 267,14 ---
    uint num_humongous_reclaim_candidates() const { return _num_humongous_reclaim_candidates; }
    bool has_humongous_reclaim_candidates() const { return _num_humongous_reclaim_candidates > 0; }
  
    bool should_do_eager_reclaim() const;
  
+   SlidingForwarding* forwarding() const {
+     return _forwarding;
+   }
+ 
  private:
  
    G1HRPrinter _hr_printer;
  
    // Return true if an explicit GC should start a concurrent cycle instead
< prev index next >