# HG changeset patch # User redestad # Date 1444657310 -7200 # Node ID 74661cd2e610f7c7bfee2b63644cf3f996dfb40c # Parent e7aac997b4921fb2764b2c74ea7925dac4ee9977 8134607: Remove per-compiler performance counters Reviewed-by: twisti, neliasso diff -r e7aac997b492 -r 74661cd2e610 jdk/src/java.management/share/classes/sun/management/CompilerThreadStat.java --- a/jdk/src/java.management/share/classes/sun/management/CompilerThreadStat.java Fri Oct 09 02:43:53 2015 -0400 +++ b/jdk/src/java.management/share/classes/sun/management/CompilerThreadStat.java Mon Oct 12 15:41:50 2015 +0200 @@ -27,6 +27,7 @@ /** */ +@Deprecated public class CompilerThreadStat implements java.io.Serializable { private String name; private long taskCount; diff -r e7aac997b492 -r 74661cd2e610 jdk/src/java.management/share/classes/sun/management/HotspotCompilation.java --- a/jdk/src/java.management/share/classes/sun/management/HotspotCompilation.java Fri Oct 09 02:43:53 2015 -0400 +++ b/jdk/src/java.management/share/classes/sun/management/HotspotCompilation.java Mon Oct 12 15:41:50 2015 +0200 @@ -90,6 +90,7 @@ this.time = (LongCounter) lookup(basename + "time"); } + @SuppressWarnings("deprecation") CompilerThreadStat getCompilerThreadStat() { MethodInfo minfo = new MethodInfo(method.stringValue(), (int) type.longValue(), @@ -182,6 +183,7 @@ return nmethodSize.longValue(); } + @Deprecated public List getCompilerThreadStats() { List list = new ArrayList<>(threads.size()); for (CompilerThreadInfo info : threads) { diff -r e7aac997b492 -r 74661cd2e610 jdk/src/java.management/share/classes/sun/management/HotspotCompilationMBean.java --- a/jdk/src/java.management/share/classes/sun/management/HotspotCompilationMBean.java Fri Oct 09 02:43:53 2015 -0400 +++ b/jdk/src/java.management/share/classes/sun/management/HotspotCompilationMBean.java Mon Oct 12 15:41:50 2015 +0200 @@ -46,6 +46,7 @@ * the statistic of a compiler thread. * */ + @Deprecated public java.util.List getCompilerThreadStats(); /**