974 G1RemSet* rem_set() const { return _rem_set; }
975
976 inline G1GCPhaseTimes* phase_times() const;
977
978 HeapRegionManager* hrm() const { return _hrm; }
979
980 const G1CollectionSet* collection_set() const { return &_collection_set; }
981 G1CollectionSet* collection_set() { return &_collection_set; }
982
983 virtual SoftRefPolicy* soft_ref_policy();
984
985 virtual void initialize_serviceability();
986 virtual MemoryUsage memory_usage();
987 virtual GrowableArray<GCMemoryManager*> memory_managers();
988 virtual GrowableArray<MemoryPool*> memory_pools();
989
990 // Try to minimize the remembered set.
991 void scrub_rem_set();
992
993 // Apply the given closure on all cards in the Hot Card Cache, emptying it.
994 void iterate_hcc_closure(G1CardTableEntryClosure* cl, uint worker_i);
995
996 // The shared block offset table array.
997 G1BlockOffsetTable* bot() const { return _bot; }
998
999 // Reference Processing accessors
1000
1001 // The STW reference processor....
1002 ReferenceProcessor* ref_processor_stw() const { return _ref_processor_stw; }
1003
1004 G1NewTracer* gc_tracer_stw() const { return _gc_tracer_stw; }
1005
1006 // The Concurrent Marking reference processor...
1007 ReferenceProcessor* ref_processor_cm() const { return _ref_processor_cm; }
1008
1009 size_t unused_committed_regions_in_bytes() const;
1010
1011 virtual size_t capacity() const;
1012 virtual size_t used() const;
1013 // This should be called when we're not holding the heap lock. The
1014 // result might be a bit inaccurate.
|
974 G1RemSet* rem_set() const { return _rem_set; }
975
976 inline G1GCPhaseTimes* phase_times() const;
977
978 HeapRegionManager* hrm() const { return _hrm; }
979
980 const G1CollectionSet* collection_set() const { return &_collection_set; }
981 G1CollectionSet* collection_set() { return &_collection_set; }
982
983 virtual SoftRefPolicy* soft_ref_policy();
984
985 virtual void initialize_serviceability();
986 virtual MemoryUsage memory_usage();
987 virtual GrowableArray<GCMemoryManager*> memory_managers();
988 virtual GrowableArray<MemoryPool*> memory_pools();
989
990 // Try to minimize the remembered set.
991 void scrub_rem_set();
992
993 // Apply the given closure on all cards in the Hot Card Cache, emptying it.
994 void iterate_hcc_closure(G1CardTableEntryClosure* cl, uint worker_id);
995
996 // The shared block offset table array.
997 G1BlockOffsetTable* bot() const { return _bot; }
998
999 // Reference Processing accessors
1000
1001 // The STW reference processor....
1002 ReferenceProcessor* ref_processor_stw() const { return _ref_processor_stw; }
1003
1004 G1NewTracer* gc_tracer_stw() const { return _gc_tracer_stw; }
1005
1006 // The Concurrent Marking reference processor...
1007 ReferenceProcessor* ref_processor_cm() const { return _ref_processor_cm; }
1008
1009 size_t unused_committed_regions_in_bytes() const;
1010
1011 virtual size_t capacity() const;
1012 virtual size_t used() const;
1013 // This should be called when we're not holding the heap lock. The
1014 // result might be a bit inaccurate.
|