mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8211384: Obsolete -XX:+/-MonitorInUseLists option
Reviewed-by: mikael, rkennke, shade, dcubed
This commit is contained in:
parent
221005a3d4
commit
08b8a3149b
5 changed files with 33 additions and 102 deletions
|
@ -851,11 +851,9 @@ void Thread::oops_do(OopClosure* f, CodeBlobClosure* cf) {
|
|||
f->do_oop((oop*)&_pending_exception);
|
||||
handle_area()->oops_do(f);
|
||||
|
||||
if (MonitorInUseLists) {
|
||||
// When using thread local monitor lists, we scan them here,
|
||||
// and the remaining global monitors in ObjectSynchronizer::oops_do().
|
||||
ObjectSynchronizer::thread_local_used_oops_do(this, f);
|
||||
}
|
||||
// We scan thread local monitor lists here, and the remaining global
|
||||
// monitors in ObjectSynchronizer::oops_do().
|
||||
ObjectSynchronizer::thread_local_used_oops_do(this, f);
|
||||
}
|
||||
|
||||
void Thread::metadata_handles_do(void f(Metadata*)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue