--- 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;
--- 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<CompilerThreadStat> getCompilerThreadStats() {
List<CompilerThreadStat> list = new ArrayList<>(threads.size());
for (CompilerThreadInfo info : threads) {
--- 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<CompilerThreadStat> getCompilerThreadStats();
/**