diff jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java @ 23765:c64c9fac1ab9

Expose decompile counts in MDO
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 28 Sep 2016 09:22:23 -0700
parents 1d4ce2d19e52
children 286dce1eca9b
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java	Wed Sep 28 14:01:41 2016 +0200
+++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java	Wed Sep 28 09:22:23 2016 -0700
@@ -57,6 +57,18 @@
         return method.getCodeSize();
     }
 
+    public int getDecompileCount() {
+        return methodData.getDecompileCount();
+    }
+
+    public int getOverflowCompileCount() {
+        return methodData.getOverflowCompileCount();
+    }
+
+    public int getOverflowTrapsCount() {
+        return methodData.getOverflowTrapsCount();
+    }
+
     @Override
     public JavaTypeProfile getTypeProfile(int bci) {
         if (!isMature) {