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

Ashutosh Mehra asmehra at openjdk.org
Wed Sep 10 14:22:44 UTC 2025


On Wed, 10 Sep 2025 04:12:04 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> src/hotspot/share/classfile/javaClasses.cpp line 1063:
>> 
>>> 1061: 
>>> 1062: // Statically allocate fixup lists because they always get created.
>>> 1063: void java_lang_Class::allocate_fixup_lists() {
>> 
>> Do we need `fixup_module_field_list` when `is_using_preloaded_classes` is true?
>
> I've added comments why fixup_module_field_list is not needed when is_using_preloaded_classes is true?

I was referring to `fixup_module_field_list`, but the comments are for `fixup_mirror_list`.

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

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


More information about the core-libs-dev mailing list