1 /*
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
275 Deoptimization::print_statistics();
276 SharedRuntime::print_statistics();
277 }
278 #endif // COMPILER1
279 #endif // INCLUDE_JVMCI
280 #endif // COMPILER2
281
282 if (PrintAOTStatistics) {
283 AOTLoader::print_statistics();
284 }
285
286 if (PrintNMethodStatistics) {
287 nmethod::print_statistics();
288 }
289 if (CountCompiledCalls) {
290 print_method_invocation_histogram();
291 }
292
293 print_method_profiling_data();
294
295 if (TimeCompilationPolicy) {
296 CompilationPolicy::policy()->print_time();
297 }
298 if (TimeOopMap) {
299 GenerateOopMap::print_time();
300 }
301 if (ProfilerCheckIntervals) {
302 PeriodicTask::print_intervals();
303 }
304 if (PrintSymbolTableSizeHistogram) {
305 SymbolTable::print_histogram();
306 }
307 if (CountBytecodes || TraceBytecodes || StopInterpreterAt) {
308 BytecodeCounter::print();
309 }
310 if (PrintBytecodePairHistogram) {
311 BytecodePairHistogram::print();
312 }
313
314 if (PrintCodeCache) {
315 MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
316 CodeCache::print();
317 }
|
1 /*
2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
275 Deoptimization::print_statistics();
276 SharedRuntime::print_statistics();
277 }
278 #endif // COMPILER1
279 #endif // INCLUDE_JVMCI
280 #endif // COMPILER2
281
282 if (PrintAOTStatistics) {
283 AOTLoader::print_statistics();
284 }
285
286 if (PrintNMethodStatistics) {
287 nmethod::print_statistics();
288 }
289 if (CountCompiledCalls) {
290 print_method_invocation_histogram();
291 }
292
293 print_method_profiling_data();
294
295 if (TimeOopMap) {
296 GenerateOopMap::print_time();
297 }
298 if (ProfilerCheckIntervals) {
299 PeriodicTask::print_intervals();
300 }
301 if (PrintSymbolTableSizeHistogram) {
302 SymbolTable::print_histogram();
303 }
304 if (CountBytecodes || TraceBytecodes || StopInterpreterAt) {
305 BytecodeCounter::print();
306 }
307 if (PrintBytecodePairHistogram) {
308 BytecodePairHistogram::print();
309 }
310
311 if (PrintCodeCache) {
312 MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
313 CodeCache::print();
314 }
|