Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java @ 23782:286dce1eca9b
Sync with JDK9 MDO changes
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 05 Oct 2016 11:38:45 -0700 |
parents | c64c9fac1ab9 |
children |
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;