mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8253064: monitor list simplifications and getting rid of TSM
Co-authored-by: Erik Österlund <eosterlund@openjdk.org> Reviewed-by: eosterlund, rehn, coleenp
This commit is contained in:
parent
421a7c3b41
commit
2e19026d45
25 changed files with 817 additions and 1912 deletions
|
@ -544,11 +544,6 @@ public:
|
|||
Threads::threads_do(&cl);
|
||||
}
|
||||
|
||||
if (_subtasks.try_claim_task(SafepointSynchronize::SAFEPOINT_CLEANUP_DEFLATE_MONITORS)) {
|
||||
Tracer t("deflating idle monitors");
|
||||
ObjectSynchronizer::do_safepoint_work();
|
||||
}
|
||||
|
||||
if (_subtasks.try_claim_task(SafepointSynchronize::SAFEPOINT_CLEANUP_UPDATE_INLINE_CACHES)) {
|
||||
Tracer t("updating inline caches");
|
||||
InlineCacheBuffer::update_inline_caches();
|
||||
|
@ -610,6 +605,12 @@ void SafepointSynchronize::do_cleanup_tasks() {
|
|||
}
|
||||
|
||||
assert(InlineCacheBuffer::is_empty(), "should have cleaned up ICBuffer");
|
||||
|
||||
if (log_is_enabled(Debug, monitorinflation)) {
|
||||
// The VMThread calls do_final_audit_and_print_stats() which calls
|
||||
// audit_and_print_stats() at the Info level at VM exit time.
|
||||
ObjectSynchronizer::audit_and_print_stats(false /* on_exit */);
|
||||
}
|
||||
}
|
||||
|
||||
// Methods for determining if a JavaThread is safepoint safe.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue