8134607: Remove per-compiler performance counters
Reviewed-by: twisti, neliasso
This commit is contained in:
parent
1e16488a87
commit
8a269a674b
@ -27,6 +27,7 @@ package sun.management;
|
||||
|
||||
/**
|
||||
*/
|
||||
@Deprecated
|
||||
public class CompilerThreadStat implements java.io.Serializable {
|
||||
private String name;
|
||||
private long taskCount;
|
||||
|
@ -90,6 +90,7 @@ class HotspotCompilation
|
||||
this.time = (LongCounter) lookup(basename + "time");
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
CompilerThreadStat getCompilerThreadStat() {
|
||||
MethodInfo minfo = new MethodInfo(method.stringValue(),
|
||||
(int) type.longValue(),
|
||||
@ -182,6 +183,7 @@ class HotspotCompilation
|
||||
return nmethodSize.longValue();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public List<CompilerThreadStat> getCompilerThreadStats() {
|
||||
List<CompilerThreadStat> list = new ArrayList<>(threads.size());
|
||||
for (CompilerThreadInfo info : threads) {
|
||||
|
@ -46,6 +46,7 @@ public interface HotspotCompilationMBean {
|
||||
* the statistic of a compiler thread.
|
||||
*
|
||||
*/
|
||||
@Deprecated
|
||||
public java.util.List<CompilerThreadStat> getCompilerThreadStats();
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user