RFR: 8306460: Clear JVM_ACC_QUEUED flag on methods when dumping dynamic CDS archive [v2]
Ioi Lam
iklam at openjdk.org
Tue May 16 17:04:48 UTC 2023
On Tue, 16 May 2023 13:21:57 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:
> > I think is_being_redefined shouldn't be set at this point, and should just be asserted.
>
> @coleenp Isn't it possible for a class being redefined to be added to the CDS archive? I don't see any check preventing that. Did I miss something?
Classes that have been redefined are excluded from the CDS archive. See:
https://github.com/openjdk/jdk/blob/488330d53bb782657378424421a9ce2f2eed5e88/src/hotspot/share/classfile/systemDictionaryShared.cpp#L264-L275
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13652#issuecomment-1550047050
More information about the hotspot-dev
mailing list