RFR: 8306460: Clear JVM_ACC_QUEUED flag on methods when dumping dynamic CDS archive

Vladimir Ivanov vlivanov at openjdk.org
Wed Apr 26 17:16:52 UTC 2023


On Tue, 25 Apr 2023 18:00:39 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:

> This patch clears the method's "queued_for_compilation" flag when dumping the method in CDS archive. Also added an assert in `Method::restore_unshareable_info()` that the method being restored should not have that flag set.

The constants are declared in `src/hotspot/share/utilities/accessFlags.hpp` and I see corresponding accessors being used on `InstanceKlass`.

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

PR Comment: https://git.openjdk.org/jdk/pull/13652#issuecomment-1523761656


More information about the hotspot-dev mailing list