RFR: JDK-8306819: Consider disabling the compiler's default active annotation processing [v7]

Jaikiran Pai jpai at openjdk.org
Tue Oct 10 14:25:40 UTC 2023


On Sun, 8 Oct 2023 05:48:28 GMT, Danny Thomas <duke at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix typos.
>
> After much head scratching attempting to run the benchmarks for 8309130, I realised this change broke microbenchmarks:
> 
> $ make test TEST="micro:java.lang.ArraysSort"
> Building target 'test' in configuration 'linux-x86_64-server-release'
> ...
> Test selection 'micro:java.lang.ArraysSort', will run:
> * micro:java.lang.ArraysSort
> 
> Running test 'micro:java.lang.ArraysSort'
> Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find the resource: /META-INF/BenchmarkList
> 	at org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:98)
> 	at org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:124)
> 	at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:252)
> 	at org.openjdk.jmh.runner.Runner.run(Runner.java:208)
> 	at org.openjdk.jmh.Main.main(Main.java:71)
> Finished running test 'micro:java.lang.ArraysSort'
> Test report is stored in build/linux-x86_64-server-release/test-results/micro_java_lang_ArraysSort

Hello @DanielThomas, thank you reporting and narrowing down the microbenchmark failures. This is now being addressed in https://bugs.openjdk.org/browse/JDK-8317802.

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

PR Comment: https://git.openjdk.org/jdk/pull/14432#issuecomment-1755530249


More information about the compiler-dev mailing list