< prev index next >

src/hotspot/share/gc/z/zHeap.hpp

Print this page

 47 private:
 48   static ZHeap*       _heap;
 49 
 50   ZWorkers            _workers;
 51   ZObjectAllocator    _object_allocator;
 52   ZPageAllocator      _page_allocator;
 53   ZPageTable          _page_table;
 54   ZForwardingTable    _forwarding_table;
 55   ZMark               _mark;
 56   ZReferenceProcessor _reference_processor;
 57   ZWeakRootsProcessor _weak_roots_processor;
 58   ZRelocate           _relocate;
 59   ZRelocationSet      _relocation_set;
 60   ZUnload             _unload;
 61   ZServiceability     _serviceability;
 62 
 63   void flip_to_marked();
 64   void flip_to_remapped();
 65 
 66   void out_of_memory();
 67   void fixup_partial_loads();
 68 
 69 public:
 70   static ZHeap* heap();
 71 
 72   ZHeap();
 73 
 74   bool is_initialized() const;
 75 
 76   // Heap metrics
 77   size_t min_capacity() const;
 78   size_t max_capacity() const;
 79   size_t soft_max_capacity() const;
 80   size_t capacity() const;
 81   size_t max_reserve() const;
 82   size_t used_high() const;
 83   size_t used_low() const;
 84   size_t used() const;
 85   size_t unused() const;
 86   size_t allocated() const;
 87   size_t reclaimed() const;

 47 private:
 48   static ZHeap*       _heap;
 49 
 50   ZWorkers            _workers;
 51   ZObjectAllocator    _object_allocator;
 52   ZPageAllocator      _page_allocator;
 53   ZPageTable          _page_table;
 54   ZForwardingTable    _forwarding_table;
 55   ZMark               _mark;
 56   ZReferenceProcessor _reference_processor;
 57   ZWeakRootsProcessor _weak_roots_processor;
 58   ZRelocate           _relocate;
 59   ZRelocationSet      _relocation_set;
 60   ZUnload             _unload;
 61   ZServiceability     _serviceability;
 62 
 63   void flip_to_marked();
 64   void flip_to_remapped();
 65 
 66   void out_of_memory();

 67 
 68 public:
 69   static ZHeap* heap();
 70 
 71   ZHeap();
 72 
 73   bool is_initialized() const;
 74 
 75   // Heap metrics
 76   size_t min_capacity() const;
 77   size_t max_capacity() const;
 78   size_t soft_max_capacity() const;
 79   size_t capacity() const;
 80   size_t max_reserve() const;
 81   size_t used_high() const;
 82   size_t used_low() const;
 83   size_t used() const;
 84   size_t unused() const;
 85   size_t allocated() const;
 86   size_t reclaimed() const;
< prev index next >