RFR: 8254599: CDS dump should not warn about hidden classes [v2]
Yumin Qi
minqi at openjdk.java.net
Mon Oct 12 23:37:15 UTC 2020
On Mon, 12 Oct 2020 22:44:25 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:
>>
>> ResourceMark needed for logging
>
> src/hotspot/share/classfile/systemDictionaryShared.cpp line 1349:
>
>> 1347:
>> 1348: if (k->is_hidden() && !is_registered_lambda_proxy_class(k)) {
>> 1349: log_debug(cds)("Skipping %s: %s", k->name()->as_C_string(), "Hidden class");
>
> A ResourceMark is needed here for calling k->name()->as_C_string().
Thanks, yes here needs a ResourceMark.
-------------
PR: https://git.openjdk.java.net/jdk/pull/614
More information about the hotspot-runtime-dev
mailing list