mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8229844: Remove attempt_rebias parameter from revoke_and_rebias()
Removed attempt_rebias parameter and merged fast_enter() and slow_enter() into enter() Reviewed-by: dholmes, rehn, coleenp, dcubed
This commit is contained in:
parent
702199983a
commit
85dbabe345
14 changed files with 125 additions and 249 deletions
|
@ -1264,7 +1264,7 @@ void Deoptimization::relock_objects(GrowableArray<MonitorInfo*>* monitors, JavaT
|
|||
obj->set_mark(unbiased_prototype);
|
||||
}
|
||||
BasicLock* lock = mon_info->lock();
|
||||
ObjectSynchronizer::slow_enter(obj, lock, thread);
|
||||
ObjectSynchronizer::enter(obj, lock, thread);
|
||||
assert(mon_info->owner()->is_locked(), "object must be locked now");
|
||||
}
|
||||
}
|
||||
|
@ -1374,7 +1374,7 @@ void Deoptimization::pop_frames_failed_reallocs(JavaThread* thread, vframeArray*
|
|||
for (int j = 0; j < monitors->number_of_monitors(); j++) {
|
||||
BasicObjectLock* src = monitors->at(j);
|
||||
if (src->obj() != NULL) {
|
||||
ObjectSynchronizer::fast_exit(src->obj(), src->lock(), thread);
|
||||
ObjectSynchronizer::exit(src->obj(), src->lock(), thread);
|
||||
}
|
||||
}
|
||||
array->element(i)->free_monitors(thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue