We recently modernized all the *MicroBenchmark.java in java/util EXCEPT for RangeCheckMicroBenchmark. RangeCheckMicroBenchmark is old and crufty, but may still give us useful numbers. The range checking code in ArrayList was carefully written many years ago to make the hotspot of that time happy; I'm always afraid that hotspot may not have improved enough, but we have to trust it far more these days with java.lang.invoke magic, which seems to work well.
- JDK 9 RFR of JDK-8146668: Replace custom check/range funct... Amy Lu
- Re: JDK 9 RFR of JDK-8146668: Replace custom check/ra... Paul Sandoz
- Re: JDK 9 RFR of JDK-8146668: Replace custom chec... Martin Buchholz
- Re: JDK 9 RFR of JDK-8146668: Replace custom chec... Amy Lu
- Re: JDK 9 RFR of JDK-8146668: Replace custom ... Paul Sandoz