< prev index next >

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

Print this page




  84   size_t capacity() const;
  85   size_t max_reserve() const;
  86   size_t used_high() const;
  87   size_t used_low() const;
  88   size_t used() const;
  89   size_t allocated() const;
  90   size_t reclaimed() const;
  91 
  92   size_t tlab_capacity() const;
  93   size_t tlab_used() const;
  94   size_t max_tlab_size() const;
  95   size_t unsafe_max_tlab_alloc() const;
  96 
  97   bool is_in(uintptr_t addr) const;
  98 
  99   // Block
 100   uintptr_t block_start(uintptr_t addr) const;
 101   size_t block_size(uintptr_t addr) const;
 102   bool block_is_obj(uintptr_t addr) const;
 103 
 104   // Raw pagetable exposed for barriers
 105   ZPageTableEntry* pagetable_addr() const;
 106 
 107   // Workers
 108   uint nconcurrent_worker_threads() const;
 109   uint nconcurrent_no_boost_worker_threads() const;
 110   void set_boost_worker_threads(bool boost);
 111   void worker_threads_do(ThreadClosure* tc) const;
 112   void print_worker_threads_on(outputStream* st) const;
 113 
 114   // Reference processing
 115   ReferenceDiscoverer* reference_discoverer();
 116   void set_soft_reference_policy(bool clear);
 117 
 118   // Non-strong reference processing
 119   void process_non_strong_references();
 120 
 121   // Page allocation
 122   ZPage* alloc_page(uint8_t type, size_t size, ZAllocationFlags flags);
 123   void undo_alloc_page(ZPage* page);
 124   bool retain_page(ZPage* page);
 125   void release_page(ZPage* page, bool reclaimed);
 126 




  84   size_t capacity() const;
  85   size_t max_reserve() const;
  86   size_t used_high() const;
  87   size_t used_low() const;
  88   size_t used() const;
  89   size_t allocated() const;
  90   size_t reclaimed() const;
  91 
  92   size_t tlab_capacity() const;
  93   size_t tlab_used() const;
  94   size_t max_tlab_size() const;
  95   size_t unsafe_max_tlab_alloc() const;
  96 
  97   bool is_in(uintptr_t addr) const;
  98 
  99   // Block
 100   uintptr_t block_start(uintptr_t addr) const;
 101   size_t block_size(uintptr_t addr) const;
 102   bool block_is_obj(uintptr_t addr) const;
 103 



 104   // Workers
 105   uint nconcurrent_worker_threads() const;
 106   uint nconcurrent_no_boost_worker_threads() const;
 107   void set_boost_worker_threads(bool boost);
 108   void worker_threads_do(ThreadClosure* tc) const;
 109   void print_worker_threads_on(outputStream* st) const;
 110 
 111   // Reference processing
 112   ReferenceDiscoverer* reference_discoverer();
 113   void set_soft_reference_policy(bool clear);
 114 
 115   // Non-strong reference processing
 116   void process_non_strong_references();
 117 
 118   // Page allocation
 119   ZPage* alloc_page(uint8_t type, size_t size, ZAllocationFlags flags);
 120   void undo_alloc_page(ZPage* page);
 121   bool retain_page(ZPage* page);
 122   void release_page(ZPage* page, bool reclaimed);
 123 


< prev index next >