RFR: 8346986: Remove ASM from java.base [v8]

Adam Sotona asotona at openjdk.org
Mon Jan 13 13:26:45 UTC 2025


On Mon, 13 Jan 2025 08:14:08 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> There are no more consumers of ASM library except for hotspot tests.
>> This patch moves ASM library from java.base module to the hotspot test libraries location and fixes the tests.
>> 
>> Please review.
>> 
>> Thanks,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
> 
>   moved asm.md to the testlibrary/asm

I did some manual benchmarking and created two sets of 100 no-op Jtreg tests. The first set references compiled j.l.classfile.ClassModel and the second set references org.objectweb.asm.ClassWriter declared as a @library.
The difference in execution of the tests is ~3 seconds on my computer (~30ms per test).

Given the limited number of tests affected, I would estimate that the overall performance regression will be in the single digit seconds range.

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

PR Comment: https://git.openjdk.org/jdk/pull/22946#issuecomment-2587096026


More information about the build-dev mailing list