RFR: 8369735: [Leyden] AOT compiled methods have lower peak performance [v2]

Aleksey Shipilev shade at openjdk.org
Thu Oct 16 16:55:21 UTC 2025


On Thu, 16 Oct 2025 16:45:23 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Includes
>
> src/hotspot/share/ci/ciEnv.cpp line 1880:
> 
>> 1878:       // Core java/lang/invoke classes are peculiar. They include LF invokers, which
>> 1879:       // are initialized in production run, but can be non-initialized in assembly.
>> 1880:       // CI query should report their status as if in production run, otherwise AOT
> 
> Why would we not resolve this disparity by ensuring they are initialized in the assembly run? rather than just reporting them as initialized for production?

I suspect it is a part of keeping assembly phase clean and resulting dump unencumbered, but I have not checked this thoroughly. So instead of figuring which condition to check in `HeapShared::initialize_java_lang_invoke()`, I opted to go conservative.

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

PR Review Comment: https://git.openjdk.org/leyden/pull/103#discussion_r2436722013


More information about the leyden-dev mailing list