Integrated: 8276126: Dump time class transformation causes heap objects of non-boot classes to be archived
Calvin Cheung
ccheung at openjdk.java.net
Thu Dec 2 14:43:31 UTC 2021
On Sat, 20 Nov 2021 02:20:17 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> During CDS static dump, if a class loaded by a boot class loader is transformed by a java agent, the transformed class is mistakenly identified as a class loaded by a custom loader. This would cause archiving of the heap objects to fail.
>
> The proposed patch corrects the identification of the transformed class and will not include it in the archive.
> Also, if a transformed class is detected during dump time, the archiving of the heap objects will be disabled.
>
> Testing: Oracle CI tiers 1-3, tier4 in progress.
This pull request has now been integrated.
Changeset: d2b16c89
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d2b16c89855d584a563caa4f725802dc91a83407
Stats: 201 lines in 11 files changed: 191 ins; 0 del; 10 mod
8276126: Dump time class transformation causes heap objects of non-boot classes to be archived
Reviewed-by: iklam, minqi
-------------
PR: https://git.openjdk.java.net/jdk/pull/6484
More information about the hotspot-runtime-dev
mailing list