8134607: Remove per-compiler performance counters

Reviewed-by: twisti, neliasso
This commit is contained in:
Claes Redestad 2015-10-12 15:41:50 +02:00
parent 1e16488a87
commit 8a269a674b
3 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,7 @@ package sun.management;
/**
*/
@Deprecated
public class CompilerThreadStat implements java.io.Serializable {
private String name;
private long taskCount;

View File

@ -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) {

View File

@ -46,6 +46,7 @@ public interface HotspotCompilationMBean {
* the statistic of a compiler thread.
*
*/
@Deprecated
public java.util.List<CompilerThreadStat> getCompilerThreadStats();
/**