changeset 12922:8ed2bee756d6

8134607: Remove per-compiler performance counters Reviewed-by: twisti, neliasso
author redestad
date Mon, 12 Oct 2015 15:41:50 +0200
parents dd09922656aa
children ab8c2b15a29a
files src/java.management/share/classes/sun/management/CompilerThreadStat.java src/java.management/share/classes/sun/management/HotspotCompilation.java src/java.management/share/classes/sun/management/HotspotCompilationMBean.java
diffstat 3 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.management/share/classes/sun/management/CompilerThreadStat.java	Fri Oct 09 02:43:53 2015 -0400
+++ b/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/src/java.management/share/classes/sun/management/HotspotCompilation.java	Fri Oct 09 02:43:53 2015 -0400
+++ b/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/src/java.management/share/classes/sun/management/HotspotCompilationMBean.java	Fri Oct 09 02:43:53 2015 -0400
+++ b/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();
 
     /**