< prev index next >
src/hotspot/share/utilities/concurrentHashTableTasks.inline.hpp
Print this page
*** 72,82 ****
_stop_task = (((size_t)1) << tmp);
}
// Returns false if all ranges are claimed.
bool have_more_work() {
! return OrderAccess::load_acquire(&_next_to_claim) >= _stop_task;
}
void thread_owns_resize_lock(Thread* thread) {
assert(BucketsOperation::_cht->_resize_lock_owner == thread,
"Should be locked by me");
--- 72,82 ----
_stop_task = (((size_t)1) << tmp);
}
// Returns false if all ranges are claimed.
bool have_more_work() {
! return Atomic::load_acquire(&_next_to_claim) >= _stop_task;
}
void thread_owns_resize_lock(Thread* thread) {
assert(BucketsOperation::_cht->_resize_lock_owner == thread,
"Should be locked by me");
< prev index next >