RFR: 8293979: Resolve JVM_CONSTANT_Class references at CDS dump time [v3]
Coleen Phillimore
coleenp at openjdk.org
Tue Oct 18 20:41:11 UTC 2022
On Tue, 18 Oct 2022 06:51:28 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> src/hotspot/share/cds/classPrelinker.cpp line 146:
>>
>>> 144:
>>> 145: bool first_time;
>>> 146: _processed_classes.put_if_absent(ik, &first_time);
>>
>> I don't see any get functions for this hashtable?
>
> This table is used to check if we have already worked on the class:
>
>
> bool first_time;
> _processed_classes.put_if_absent(ik, &first_time);
> if (!first_time) {
> return;
> }
Oh, ok I missed that. Can you add a comment there about what you're doing and why?
-------------
PR: https://git.openjdk.org/jdk/pull/10330
More information about the hotspot-dev
mailing list