Mercurial > hg > graal-jvmci-8
changeset 23782:286dce1eca9b
Sync with JDK9 MDO changes
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 05 Oct 2016 11:38:45 -0700 |
parents | 276858bc6ac6 |
children | 1523f2f7832f |
files | jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java |
diffstat | 2 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java Wed Oct 05 17:30:21 2016 +0200 +++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java Wed Oct 05 11:38:45 2016 -0700 @@ -111,11 +111,11 @@ return UNSAFE.getInt(metaspaceMethodData + config.methodDataDecompiles); } - public int getOverflowCompileCount() { + public int getOverflowRecompileCount() { return UNSAFE.getInt(metaspaceMethodData + config.methodDataOverflowRecompiles); } - public int getOverflowTrapsCount() { + public int getOverflowTrapCount() { return UNSAFE.getInt(metaspaceMethodData + config.methodDataOverflowTraps); } @@ -230,6 +230,8 @@ sb.append(method.format("%H.%n(%p)")); sb.append(":"); sb.append(nl); + sb.append(String.format("nof_decompiles(%d) nof_overflow_recompiles(%d) nof_overflow_traps(%d)%n", + getDecompileCount(), getOverflowRecompileCount(), getOverflowTrapCount())); if (hasNormalData()) { int pos = 0; HotSpotMethodDataAccessor data;
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java Wed Oct 05 17:30:21 2016 +0200 +++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java Wed Oct 05 11:38:45 2016 -0700 @@ -61,12 +61,12 @@ return methodData.getDecompileCount(); } - public int getOverflowCompileCount() { - return methodData.getOverflowCompileCount(); + public int getOverflowRecompileCount() { + return methodData.getOverflowRecompileCount(); } - public int getOverflowTrapsCount() { - return methodData.getOverflowTrapsCount(); + public int getOverflowTrapCount() { + return methodData.getOverflowTrapCount(); } @Override