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 22:43:33 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Hi Calvin,
> 
> Fix is good, but I have to query whether this is just a P4? I suppose anyone who can overwrite the default archive this way can also restore it with -Xdump, but still this seems a bit of a usability issue worthy of a P3 and fixing in 18.
> 
> Thanks, David

Hi David,

I've added a comment to the bug report justifying why this is a P4.
I can backport the fix to 18.

Thanks,
Calvin

-------------

PR: https://git.openjdk.java.net/jdk/pull/6896


More information about the hotspot-runtime-dev mailing list