mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8264711: More runtime TRAPS cleanups
Reviewed-by: lfoltan, pchilanomate, dholmes, dcubed
This commit is contained in:
parent
3aec2d9647
commit
af13c64f68
26 changed files with 84 additions and 96 deletions
|
@ -1653,7 +1653,7 @@ void Deoptimization::revoke_from_deopt_handler(JavaThread* thread, frame fr, Reg
|
|||
int len = objects_to_revoke->length();
|
||||
for (int i = 0; i < len; i++) {
|
||||
oop obj = (objects_to_revoke->at(i))();
|
||||
BiasedLocking::revoke_own_lock(objects_to_revoke->at(i), thread);
|
||||
BiasedLocking::revoke_own_lock(thread, objects_to_revoke->at(i));
|
||||
assert(!obj->mark().has_bias_pattern(), "biases should be revoked by now");
|
||||
}
|
||||
}
|
||||
|
@ -1686,7 +1686,7 @@ void Deoptimization::revoke_for_object_deoptimization(JavaThread* deoptee_thread
|
|||
// Deoptimization::relock_objects().
|
||||
continue;
|
||||
}
|
||||
BiasedLocking::revoke(objects_to_revoke->at(i), thread);
|
||||
BiasedLocking::revoke(thread, objects_to_revoke->at(i));
|
||||
assert(!objects_to_revoke->at(i)->mark().has_bias_pattern(), "biases should be revoked by now");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue