RFR: 8298809: Clean up vm/compiler/InterfaceCalls JMH

Eric Caspole ecaspole at openjdk.org
Thu Dec 15 16:13:48 UTC 2022


I removed some confusing less effective cases and modified and renamed some to cover what seem like the most useful cases with 1+ types and 1+ interfaces implemented in those types. Here is an example run:

Benchmark                        Mode  Cnt  Score   Error  Units
InterfaceCalls.test1stInt2Types  avgt   12  2.196 ± 0.022  ns/op
InterfaceCalls.test1stInt3Types  avgt   12  8.259 ± 0.045  ns/op
InterfaceCalls.test1stInt5Types  avgt   12  8.279 ± 0.024  ns/op
InterfaceCalls.test2ndInt2Types  avgt   12  2.467 ± 0.023  ns/op
InterfaceCalls.test2ndInt3Types  avgt   12  9.287 ± 0.032  ns/op
InterfaceCalls.test2ndInt5Types  avgt   12  9.343 ± 0.027  ns/op
InterfaceCalls.testMonomorphic   avgt   12  1.440 ± 0.031  ns/op

-------------

Commit messages:
 - 8298809: Clean up vm/compiler/InterfaceCalls JMH

Changes: https://git.openjdk.org/jdk/pull/11696/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11696&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8298809
  Stats: 174 lines in 1 file changed: 5 ins; 123 del; 46 mod
  Patch: https://git.openjdk.org/jdk/pull/11696.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11696/head:pull/11696

PR: https://git.openjdk.org/jdk/pull/11696


More information about the hotspot-compiler-dev mailing list