mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
This commit is contained in:
parent
e06c17ce33
commit
e527ce4b57
97 changed files with 554 additions and 570 deletions
|
@ -74,7 +74,7 @@ class ConcurrentHashTable<CONFIG, F>::BucketsOperation {
|
|||
|
||||
// Returns false if all ranges are claimed.
|
||||
bool have_more_work() {
|
||||
return OrderAccess::load_acquire(&_next_to_claim) >= _stop_task;
|
||||
return Atomic::load_acquire(&_next_to_claim) >= _stop_task;
|
||||
}
|
||||
|
||||
void thread_owns_resize_lock(Thread* thread) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue