88 size_t used_low() const;
89 size_t used() const;
90 size_t unused() const;
91 size_t allocated() const;
92 size_t reclaimed() const;
93
94 size_t tlab_capacity() const;
95 size_t tlab_used() const;
96 size_t max_tlab_size() const;
97 size_t unsafe_max_tlab_alloc() const;
98
99 bool is_in(uintptr_t addr) const;
100 uint32_t hash_oop(uintptr_t addr) const;
101
102 // Workers
103 uint nconcurrent_worker_threads() const;
104 uint nconcurrent_no_boost_worker_threads() const;
105 void set_boost_worker_threads(bool boost);
106 void worker_threads_do(ThreadClosure* tc) const;
107 void print_worker_threads_on(outputStream* st) const;
108
109 // Reference processing
110 ReferenceDiscoverer* reference_discoverer();
111 void set_soft_reference_policy(bool clear);
112
113 // Non-strong reference processing
114 void process_non_strong_references();
115
116 // Page allocation
117 ZPage* alloc_page(uint8_t type, size_t size, ZAllocationFlags flags);
118 void undo_alloc_page(ZPage* page);
119 void free_page(ZPage* page, bool reclaimed);
120
121 // Uncommit memory
122 uint64_t uncommit(uint64_t delay);
123
124 // Object allocation
125 uintptr_t alloc_tlab(size_t size);
126 uintptr_t alloc_object(size_t size);
127 uintptr_t alloc_object_for_relocation(size_t size);
|
88 size_t used_low() const;
89 size_t used() const;
90 size_t unused() const;
91 size_t allocated() const;
92 size_t reclaimed() const;
93
94 size_t tlab_capacity() const;
95 size_t tlab_used() const;
96 size_t max_tlab_size() const;
97 size_t unsafe_max_tlab_alloc() const;
98
99 bool is_in(uintptr_t addr) const;
100 uint32_t hash_oop(uintptr_t addr) const;
101
102 // Workers
103 uint nconcurrent_worker_threads() const;
104 uint nconcurrent_no_boost_worker_threads() const;
105 void set_boost_worker_threads(bool boost);
106 void worker_threads_do(ThreadClosure* tc) const;
107 void print_worker_threads_on(outputStream* st) const;
108 void run_task(AbstractGangTask* task);
109
110 // Reference processing
111 ReferenceDiscoverer* reference_discoverer();
112 void set_soft_reference_policy(bool clear);
113
114 // Non-strong reference processing
115 void process_non_strong_references();
116
117 // Page allocation
118 ZPage* alloc_page(uint8_t type, size_t size, ZAllocationFlags flags);
119 void undo_alloc_page(ZPage* page);
120 void free_page(ZPage* page, bool reclaimed);
121
122 // Uncommit memory
123 uint64_t uncommit(uint64_t delay);
124
125 // Object allocation
126 uintptr_t alloc_tlab(size_t size);
127 uintptr_t alloc_object(size_t size);
128 uintptr_t alloc_object_for_relocation(size_t size);
|