mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8234740: Harmonize parameter order in Atomic - cmpxchg
Reviewed-by: rehn, dholmes
This commit is contained in:
parent
3d426623bf
commit
0ad50c2b5c
144 changed files with 504 additions and 506 deletions
|
@ -749,7 +749,7 @@ void CodeCache::release_exception_cache(ExceptionCache* entry) {
|
|||
for (;;) {
|
||||
ExceptionCache* purge_list_head = Atomic::load(&_exception_cache_purge_list);
|
||||
entry->set_purge_list_next(purge_list_head);
|
||||
if (Atomic::cmpxchg(entry, &_exception_cache_purge_list, purge_list_head) == purge_list_head) {
|
||||
if (Atomic::cmpxchg(&_exception_cache_purge_list, purge_list_head, entry) == purge_list_head) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue