RFR: 8362564: hotspot/jtreg/compiler/c2/TestLWLockingCodeGen.java fails on static JDK on x86_64 with AVX instruction extensions [v2]

Jiangli Zhou jiangli at openjdk.org
Fri Jul 25 17:42:15 UTC 2025


On Fri, 25 Jul 2025 14:41:17 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

>> @eastig Thanks for taking a look!
>> 
>> The log `Info, stubs` output provides useful details. With the assertion failure, it wouldn't show. That's why moving the assert to after the log output.
>
> If you need information which is printed out in the log, why not to add needed information to the assert? You can copy the format string used for logging. This will make assert's output more informative without a need for enabling logging.

Sounds reasonable to me. I updated the PR to move back the assert and added code_size, buffer total size and free to the assert output. Thanks

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26395#discussion_r2231688673


More information about the hotspot-dev mailing list