author | prr |
Mon, 04 Nov 2019 10:01:55 -0800 | |
changeset 59176 | f5adbf111424 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
2 | 1 |
/* |
5506 | 2 |
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. |
2 | 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 |
|
5506 | 7 |
* published by the Free Software Foundation. Oracle designates this |
2 | 8 |
* particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
* by Oracle in the LICENSE file that accompanied this code. |
2 | 10 |
* |
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
* accompanied this code). |
|
16 |
* |
|
17 |
* You should have received a copy of the GNU General Public License version |
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
* |
|
5506 | 21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
* or visit www.oracle.com if you need additional information or have any |
|
23 |
* questions. |
|
2 | 24 |
*/ |
25 |
||
26 |
package sun.management; |
|
27 |
||
28 |
import sun.management.counter.Counter; |
|
29 |
||
30 |
/** |
|
31 |
* Hotspot internal management interface for the compilation system. |
|
32 |
*/ |
|
33 |
public interface HotspotCompilationMBean { |
|
34 |
||
35 |
/** |
|
36 |
* Returns the number of compiler threads. |
|
37 |
* |
|
38 |
* @return the number of compiler threads. |
|
39 |
*/ |
|
40 |
public int getCompilerThreadCount(); |
|
41 |
||
42 |
/** |
|
43 |
* Returns the statistic of all compiler threads. |
|
44 |
* |
|
45 |
* @return a list of {@link CompilerThreadStat} object containing |
|
46 |
* the statistic of a compiler thread. |
|
47 |
* |
|
48 |
*/ |
|
33272
74661cd2e610
8134607: Remove per-compiler performance counters
redestad
parents:
25859
diff
changeset
|
49 |
@Deprecated |
2 | 50 |
public java.util.List<CompilerThreadStat> getCompilerThreadStats(); |
51 |
||
52 |
/** |
|
53 |
* Returns the total number of compiles. |
|
54 |
* |
|
55 |
* @return the total number of compiles. |
|
56 |
*/ |
|
57 |
public long getTotalCompileCount(); |
|
58 |
||
59 |
/** |
|
60 |
* Returns the number of bailout compiles. |
|
61 |
* |
|
62 |
* @return the number of bailout compiles. |
|
63 |
*/ |
|
64 |
public long getBailoutCompileCount(); |
|
65 |
||
66 |
/** |
|
67 |
* Returns the number of invalidated compiles. |
|
68 |
* |
|
69 |
* @return the number of invalidated compiles. |
|
70 |
*/ |
|
71 |
public long getInvalidatedCompileCount(); |
|
72 |
||
73 |
/** |
|
74 |
* Returns the method information of the last compiled method. |
|
75 |
* |
|
76 |
* @return a {@link MethodInfo} of the last compiled method. |
|
77 |
*/ |
|
78 |
public MethodInfo getLastCompile(); |
|
79 |
||
80 |
/** |
|
81 |
* Returns the method information of the last failed compile. |
|
82 |
* |
|
83 |
* @return a {@link MethodInfo} of the last failed compile. |
|
84 |
*/ |
|
85 |
public MethodInfo getFailedCompile(); |
|
86 |
||
87 |
/** |
|
88 |
* Returns the method information of the last invalidated compile. |
|
89 |
* |
|
90 |
* @return a {@link MethodInfo} of the last invalidated compile. |
|
91 |
*/ |
|
92 |
public MethodInfo getInvalidatedCompile(); |
|
93 |
||
94 |
/** |
|
95 |
* Returns the number of bytes for the code of the |
|
96 |
* compiled methods. |
|
97 |
* |
|
98 |
* @return the number of bytes for the code of the compiled methods. |
|
99 |
*/ |
|
100 |
public long getCompiledMethodCodeSize(); |
|
101 |
||
102 |
/** |
|
103 |
* Returns the number of bytes occupied by the compiled methods. |
|
104 |
* |
|
105 |
* @return the number of bytes occupied by the compiled methods. |
|
106 |
*/ |
|
107 |
public long getCompiledMethodSize(); |
|
108 |
||
109 |
/** |
|
110 |
* Returns a list of internal counters maintained in the Java |
|
111 |
* virtual machine for the compilation system. |
|
112 |
* |
|
113 |
* @return a list of internal counters maintained in the VM |
|
114 |
* for the compilation system. |
|
115 |
*/ |
|
116 |
public java.util.List<Counter> getInternalCompilerCounters(); |
|
117 |
} |