equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
379 static long get_peak_compilation_time() { return _peak_compilation_time; } |
379 static long get_peak_compilation_time() { return _peak_compilation_time; } |
380 static long get_total_compilation_time() { return _t_total_compilation.milliseconds(); } |
380 static long get_total_compilation_time() { return _t_total_compilation.milliseconds(); } |
381 |
381 |
382 // Log that compilation profiling is skipped because metaspace is full. |
382 // Log that compilation profiling is skipped because metaspace is full. |
383 static void log_metaspace_failure(); |
383 static void log_metaspace_failure(); |
|
384 |
|
385 // CodeHeap State Analytics. |
|
386 static void print_info(outputStream *out); |
|
387 static void print_heapinfo(outputStream *out, const char* function, const char* granularity ); |
384 }; |
388 }; |
385 |
389 |
386 #endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP |
390 #endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP |