RFR: 8277100: Dynamic dump can inadvertently overwrite default CDS archive
Calvin Cheung
ccheung at openjdk.java.net
Mon Dec 20 23:05:31 UTC 2021
On Mon, 20 Dec 2021 19:57:50 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Please review this small fix for preventing the default CDS archive from being overwritten via the
>> -XX:ArchiveClassesAtExit VM option.
>>
>> If the user sets the -XX:ArchiveClassesAtExit option pointing to the default CDS archive, VM will
>> exit with the following message:
>>
>> `Cannot specify the default CDS archive for -XX:ArchiveClassesAtExit: <path to classes.jsa>`
>>
>> Passed CI tiers 1 and 2 tests.
>
> LGTM
@iklam, @yminqi, @dholmes-ora Thanks for the review.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6896
More information about the hotspot-runtime-dev
mailing list