< prev index next >

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

Print this page




  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;
  87 
  88   size_t tlab_capacity() const;
  89   size_t tlab_used() const;
  90   size_t max_tlab_size() const;
  91   size_t unsafe_max_tlab_alloc() const;
  92 
  93   bool is_in(uintptr_t addr) const;
  94   uint32_t hash_oop(uintptr_t addr) const;
  95 
  96   // Threads
  97   uint nconcurrent_worker_threads() const;
  98   uint nconcurrent_no_boost_worker_threads() const;
  99   void set_boost_worker_threads(bool boost);
 100   void threads_do(ThreadClosure* tc) const;

 101   void run_task(AbstractGangTask* task);
 102   // Reference processing
 103   ReferenceDiscoverer* reference_discoverer();
 104   void set_soft_reference_policy(bool clear);
 105 
 106   // Non-strong reference processing
 107   void process_non_strong_references();
 108 
 109   // Page allocation
 110   ZPage* alloc_page(uint8_t type, size_t size, ZAllocationFlags flags);
 111   void undo_alloc_page(ZPage* page);
 112   void free_page(ZPage* page, bool reclaimed);
 113 
 114   // Object allocation
 115   uintptr_t alloc_tlab(size_t size);
 116   uintptr_t alloc_object(size_t size);
 117   uintptr_t alloc_object_for_relocation(size_t size);
 118   void undo_alloc_object_for_relocation(uintptr_t addr, size_t size);
 119   bool is_alloc_stalled() const;
 120   void check_out_of_memory();




  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;
  87 
  88   size_t tlab_capacity() const;
  89   size_t tlab_used() const;
  90   size_t max_tlab_size() const;
  91   size_t unsafe_max_tlab_alloc() const;
  92 
  93   bool is_in(uintptr_t addr) const;
  94   uint32_t hash_oop(uintptr_t addr) const;
  95 
  96   // Threads
  97   uint nconcurrent_worker_threads() const;
  98   uint nconcurrent_no_boost_worker_threads() const;
  99   void set_boost_worker_threads(bool boost);
 100   void threads_do(ThreadClosure* tc) const;
 101 
 102   void run_task(AbstractGangTask* task);
 103   // Reference processing
 104   ReferenceDiscoverer* reference_discoverer();
 105   void set_soft_reference_policy(bool clear);
 106 
 107   // Non-strong reference processing
 108   void process_non_strong_references();
 109 
 110   // Page allocation
 111   ZPage* alloc_page(uint8_t type, size_t size, ZAllocationFlags flags);
 112   void undo_alloc_page(ZPage* page);
 113   void free_page(ZPage* page, bool reclaimed);
 114 
 115   // Object allocation
 116   uintptr_t alloc_tlab(size_t size);
 117   uintptr_t alloc_object(size_t size);
 118   uintptr_t alloc_object_for_relocation(size_t size);
 119   void undo_alloc_object_for_relocation(uintptr_t addr, size_t size);
 120   bool is_alloc_stalled() const;
 121   void check_out_of_memory();


< prev index next >