RFR: 8350550: Preload classes from AOT cache during VM bootstrap [v2]

Dan Heidinga heidinga at openjdk.org
Fri Aug 22 14:12:54 UTC 2025


On Fri, 22 Aug 2025 04:49:25 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> I think we need a stronger check -- make sure that no user classes are initialized at the end of the assembly phase. This check should be sufficient because executing code in any class will result in its initialization.

That would be a good check.

Do we still assembly-time initialize Enums?  I thought in earlier implementations we had initialized all enum classes but I'm having trouble finding the code now.  If we do, the new "no user class initialized" check may fail on Enums

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26375#discussion_r2293846625


More information about the hotspot-dev mailing list