equal
deleted
inserted
replaced
161 public: |
161 public: |
162 ShenandoahHeapLock* lock() { |
162 ShenandoahHeapLock* lock() { |
163 return &_lock; |
163 return &_lock; |
164 } |
164 } |
165 |
165 |
166 void assert_heaplock_owned_by_current_thread() PRODUCT_RETURN; |
166 void assert_heaplock_owned_by_current_thread() NOT_DEBUG_RETURN; |
167 void assert_heaplock_not_owned_by_current_thread() PRODUCT_RETURN; |
167 void assert_heaplock_not_owned_by_current_thread() NOT_DEBUG_RETURN; |
168 void assert_heaplock_or_safepoint() PRODUCT_RETURN; |
168 void assert_heaplock_or_safepoint() NOT_DEBUG_RETURN; |
169 |
169 |
170 // ---------- Initialization, termination, identification, printing routines |
170 // ---------- Initialization, termination, identification, printing routines |
171 // |
171 // |
172 public: |
172 public: |
173 static ShenandoahHeap* heap(); |
173 static ShenandoahHeap* heap(); |
229 ShenandoahWorkGang* _workers; |
229 ShenandoahWorkGang* _workers; |
230 ShenandoahWorkGang* _safepoint_workers; |
230 ShenandoahWorkGang* _safepoint_workers; |
231 |
231 |
232 public: |
232 public: |
233 uint max_workers(); |
233 uint max_workers(); |
234 void assert_gc_workers(uint nworker) PRODUCT_RETURN; |
234 void assert_gc_workers(uint nworker) NOT_DEBUG_RETURN; |
235 |
235 |
236 WorkGang* workers() const; |
236 WorkGang* workers() const; |
237 WorkGang* get_safepoint_workers(); |
237 WorkGang* get_safepoint_workers(); |
238 |
238 |
239 void gc_threads_do(ThreadClosure* tcl) const; |
239 void gc_threads_do(ThreadClosure* tcl) const; |