--- old/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java 2017-10-25 15:12:04.000000000 -0700 +++ new/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java 2017-10-25 15:12:03.000000000 -0700 @@ -578,6 +578,13 @@ } totalCount += getMethodsNotRecordedExecutionCount(data, position); + + // Fixup the case of C1's inability to optimize profiling of a statically bindable call site. + // If it's a monomorphic call site, attribute all the counts to the first type (if any is recorded). + if (entries == 1) { + counts[0] = totalCount; + } + return new RawItemProfile<>(entries, methods, counts, totalCount); }