RFR: 8276184: Exclude lambda proxy class from the CDS archive if its caller class is excluded [v4]
Calvin Cheung
ccheung at openjdk.java.net
Mon Nov 8 22:16:33 UTC 2021
On Mon, 8 Nov 2021 21:07:57 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
>>
>> @iklam comments
>
> test/hotspot/jtreg/runtime/cds/appcds/SignedJar.java line 70:
>
>> 68: // Test class exists in both signed JAR and unsigned JAR
>> 69: String jars = signedJar + System.getProperty("path.separator") + unsignedJar;
>> 70: output = TestCommon.dump(jars, TestCommon.list(mainClass));
>
> Does the VM log a message for the excluded lambda proxy as well? If so, maybe we should check that here, too.
Not in this case. When the `do_entry()` of `ExcludeDumpTimeSharedClasses` is called, it doesn't know that the lambda proxy is associated with a signed `caller_ik`. If there's a need for a log message, it needs to be added in the `do_entry()` of `CleanupDumpTimeLambdaProxyClassTable`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6205
More information about the hotspot-runtime-dev
mailing list