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