mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -2200,7 +2200,7 @@ void InstanceKlass::clean_implementors_list() {
|
|||
if (impl != NULL && !impl->is_loader_alive()) {
|
||||
// NULL this field, might be an unloaded klass or NULL
|
||||
Klass* volatile* klass = adr_implementor();
|
||||
if (Atomic::cmpxchg((Klass*)NULL, klass, impl) == impl) {
|
||||
if (Atomic::cmpxchg(klass, impl, (Klass*)NULL) == impl) {
|
||||
// Successfully unlinking implementor.
|
||||
if (log_is_enabled(Trace, class, unload)) {
|
||||
ResourceMark rm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue