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.

Reply via email to