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

Andrew Dinn adinn at openjdk.org
Thu Oct 16 17:38:36 UTC 2025


On Thu, 16 Oct 2025 17:24:39 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> 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.
>
> Oh wait, and actually, this code is answering all the queries about A4. It makes sense: it answers about the class states in not-yet-existing JVM, so we don't leak what happens in assembly phase.
> 
> So if we do not answer here based on dependencies, we reply "don't know about this class", and the hell breaks loose. So initializing JLI classes in assembly phase would not actually help. I confused myself, because I tried to add JLI classes as artificial dependencies, and could not, because they are filtered as not loaded. So it is easier to just reply to these queries right here.

Ok,so maybe the comment could be tweaked to reflect that?

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

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


More information about the leyden-dev mailing list