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

Ashutosh Mehra duke at openjdk.org
Tue Apr 25 18:08:09 UTC 2023


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.

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

Commit messages:
 - 8306460: Clear JVM_ACC_QUEUED flag on methods when dumping dynamic CDS archive

Changes: https://git.openjdk.org/jdk/pull/13652/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13652&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8306460
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13652.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13652/head:pull/13652

PR: https://git.openjdk.org/jdk/pull/13652


More information about the hotspot-dev mailing list