RFR: 8329706: Implement -XX:+AOTClassLinking [v8]

David Holmes dholmes at openjdk.org
Thu Sep 19 05:45:38 UTC 2024


On Thu, 19 Sep 2024 04:01:07 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> src/hotspot/share/cds/aotClassLinker.cpp line 194:
>> 
>>> 192:     if ((ik->module() == ModuleEntryTable::javabase_moduleEntry()) != is_javabase) {
>>> 193:       continue;
>>> 194:     }
>> 
>> Why do we process system loader classes (i.e. application loader classes) if they need to be in java.base, as the application classes will never be in java.base. ???
>
> The code is written for simplicity. If it becomes a performance problem we can change it.

I misread this check.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20843#discussion_r1766191759


More information about the serviceability-dev mailing list