src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 54678 93f09ca4a7f8
parent 54616 3ab77d8dc60a
child 54781 f3f07c76d3d1
equal deleted inserted replaced
54677:beca9f8524c1 54678:93f09ca4a7f8
    42 // class defines the functions that a heap must implement, and contains
    42 // class defines the functions that a heap must implement, and contains
    43 // infrastructure common to all heaps.
    43 // infrastructure common to all heaps.
    44 
    44 
    45 class AdaptiveSizePolicy;
    45 class AdaptiveSizePolicy;
    46 class BarrierSet;
    46 class BarrierSet;
    47 class CollectorPolicy;
       
    48 class GCHeapSummary;
    47 class GCHeapSummary;
    49 class GCTimer;
    48 class GCTimer;
    50 class GCTracer;
    49 class GCTracer;
    51 class GCMemoryManager;
    50 class GCMemoryManager;
    52 class MemoryPool;
    51 class MemoryPool;
   386     }
   385     }
   387   }
   386   }
   388 
   387 
   389   void increment_total_full_collections() { _total_full_collections++; }
   388   void increment_total_full_collections() { _total_full_collections++; }
   390 
   389 
   391   // Return the CollectorPolicy for the heap
       
   392   virtual CollectorPolicy* collector_policy() const = 0;
       
   393 
       
   394   // Return the SoftRefPolicy for the heap;
   390   // Return the SoftRefPolicy for the heap;
   395   virtual SoftRefPolicy* soft_ref_policy() = 0;
   391   virtual SoftRefPolicy* soft_ref_policy() = 0;
   396 
   392 
   397   virtual MemoryUsage memory_usage();
   393   virtual MemoryUsage memory_usage();
   398   virtual GrowableArray<GCMemoryManager*> memory_managers() = 0;
   394   virtual GrowableArray<GCMemoryManager*> memory_managers() = 0;