mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -41,7 +41,7 @@ class GlobalCounter::CounterThreadCheck : public ThreadClosure {
|
|||
SpinYield yield;
|
||||
// Loops on this thread until it has exited the critical read section.
|
||||
while(true) {
|
||||
uintx cnt = OrderAccess::load_acquire(thread->get_rcu_counter());
|
||||
uintx cnt = Atomic::load_acquire(thread->get_rcu_counter());
|
||||
// This checks if the thread's counter is active. And if so is the counter
|
||||
// for a pre-existing reader (belongs to this grace period). A pre-existing
|
||||
// reader will have a lower counter than the global counter version for this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue