On Thu, 19 Sep 2024 04:01:07 GMT, Ioi Lam <ik...@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

Reply via email to