mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8191890: Biased locking still uses the inferior stop the world safepoint for revocation
Revocations are now executed with thread local handshakes instead of safepoints Reviewed-by: dcubed, coleenp, dholmes, rehn, mgronlun
This commit is contained in:
parent
238c17bdb5
commit
fe39168fa7
8 changed files with 410 additions and 261 deletions
|
@ -1432,7 +1432,7 @@ void Deoptimization::revoke_biases_of_monitors(JavaThread* thread, frame fr, Reg
|
|||
if (SafepointSynchronize::is_at_safepoint()) {
|
||||
BiasedLocking::revoke_at_safepoint(objects_to_revoke);
|
||||
} else {
|
||||
BiasedLocking::revoke(objects_to_revoke);
|
||||
BiasedLocking::revoke(objects_to_revoke, thread);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue