< prev index next >
src/hotspot/share/runtime/init.cpp
Print this page
rev 58110 : v2.09a with 8235795, 8235931 and 8236035 extracted; rebased to jdk-14+28; merge with 8236035.patch.cr1; merge with 8235795.patch.cr1; merge with 8236035.patch.cr2; merge with 8235795.patch.cr2; merge with 8235795.patch.cr3.
rev 58111 : See CR9-to-CR10-changes; merge with jdk-15+11.
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -176,12 +176,16 @@
if (!destructorsCalled) {
destructorsCalled = true;
if (log_is_enabled(Info, monitorinflation)) {
// The ObjectMonitor subsystem uses perf counters so
// do this before perfMemory_exit().
- // ObjectSynchronizer::finish_deflate_idle_monitors()'s call
- // to audit_and_print_stats() is done at the Debug level.
+ // These other two audit_and_print_stats() calls are done at the
+ // Debug level at a safepoint:
+ // - for safepoint based deflation auditing:
+ // ObjectSynchronizer::finish_deflate_idle_monitors()
+ // - for async deflation auditing:
+ // ObjectSynchronizer::do_safepoint_work()
ObjectSynchronizer::audit_and_print_stats(true /* on_exit */);
}
perfMemory_exit();
SafepointTracing::statistics_exit_log();
if (PrintStringTableStatistics) {
< prev index next >