mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8225702: Safepoint counter can't be used for safepoint detection
Reviewed-by: dcubed, dholmes
This commit is contained in:
parent
1a72f29e35
commit
8b067a95ed
6 changed files with 56 additions and 20 deletions
|
@ -548,7 +548,7 @@ public:
|
|||
if (biased_locker != NULL) {
|
||||
_biased_locker_id = JFR_THREAD_ID(biased_locker);
|
||||
}
|
||||
_safepoint_id = SafepointSynchronize::safepoint_counter();
|
||||
_safepoint_id = SafepointSynchronize::safepoint_id();
|
||||
clean_up_cached_monitor_info();
|
||||
return;
|
||||
} else {
|
||||
|
@ -589,7 +589,7 @@ public:
|
|||
|
||||
virtual void doit() {
|
||||
_status_code = bulk_revoke_or_rebias_at_safepoint((*_obj)(), _bulk_rebias, _attempt_rebias_of_object, _requesting_thread);
|
||||
_safepoint_id = SafepointSynchronize::safepoint_counter();
|
||||
_safepoint_id = SafepointSynchronize::safepoint_id();
|
||||
clean_up_cached_monitor_info();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue