< prev index next >

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

Print this page
rev 47957 : 8191564: Refactor GC related servicability code into GC specific subclasses

*** 90,99 **** --- 90,101 ---- class G1FullGCScope; class G1HeapVerifier; class G1HeapSizingPolicy; class G1HeapSummary; class G1EvacSummary; + class MemoryManager; + class MemoryPool; typedef OverflowTaskQueue<StarTask, mtGC> RefToScanQueue; typedef GenericTaskQueueSet<RefToScanQueue, mtGC> RefToScanQueueSet; typedef int RegionIdx_t; // needs to hold [ 0..max_regions() )
*** 146,155 **** --- 148,160 ---- G1YoungRemSetSamplingThread* _young_gen_sampling_thread; WorkGang* _workers; G1CollectorPolicy* _collector_policy; + GCMemoryManager* _minor_mgr; + GCMemoryManager* _major_mgr; + static size_t _humongous_object_threshold_in_words; // The secondary free list which contains regions that have been // freed up during the cleanup process. This will be appended to // the master free list when appropriate.
*** 1004,1013 **** --- 1009,1024 ---- virtual CollectorPolicy* collector_policy() const; // Adaptive size policy. No such thing for g1. virtual AdaptiveSizePolicy* size_policy() { return NULL; } + virtual GrowableArray<MemoryManager*> memory_managers(); + virtual GrowableArray<MemoryPool*> memory_pools(); + + GCMemoryManager* minor_mgr(); + GCMemoryManager* major_mgr(); + // The rem set and barrier set. G1RemSet* g1_rem_set() const { return _g1_rem_set; } // Try to minimize the remembered set. void scrub_rem_set();
< prev index next >