< prev index next >

src/hotspot/share/gc/shared/genCollectedHeap.hpp

Print this page
*** 33,10 ***
--- 33,11 ---
  
  class AdaptiveSizePolicy;
  class CardTableRS;
  class GCPolicyCounters;
  class GenerationSpec;
+ class SlidingForwarding;
  class StrongRootsScope;
  class SubTasksDone;
  class WorkGang;
  
  // A "GenCollectedHeap" is a CollectedHeap that uses generational

*** 86,10 ***
--- 87,12 ---
    bool _incremental_collection_failed;
  
    // In support of ExplicitGCInvokesConcurrent functionality
    unsigned int _full_collections_completed;
  
+   SlidingForwarding* _forwarding;
+ 
    // Collects the given generation.
    void collect_generation(Generation* gen, bool full, size_t size, bool is_tlab,
                            bool run_verification, bool clear_soft_refs,
                            bool restore_marks_for_biased_locking);
  

*** 329,10 ***
--- 332,14 ---
  
    // Convenience function to be used in situations where the heap type can be
    // asserted to be this type.
    static GenCollectedHeap* heap();
  
+   SlidingForwarding* forwarding() const {
+     return _forwarding;
+   }
+ 
    // The ScanningOption determines which of the roots
    // the closure is applied to:
    // "SO_None" does none;
    enum ScanningOption {
      SO_None                =  0x0,
< prev index next >