[jdk19] RFR: 8288482: JFR: Cannot resolve method

Markus Grönlund mgronlun at openjdk.org
Sun Jul 17 13:23:46 UTC 2022


Greetings,

Serializations related to rotations must not issue the CLEAR_THIS_EPOCH_METHOD_CLEARED_BIT because, at this point, the epoch has already shifted. As such, we are collecting the previous epoch and must not clear the current one.
CLEAR_THIS_EPOCH_METHOD_CLEARED_BIT is only valid for flushpoints and class unloading, which collects the current epoch. 
Please see the description in the JIRA issue for additional details.

Testing: Repro.java, jdk_jfr

Thanks
Markus

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

Commit messages:
 - 8288482

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

PR: https://git.openjdk.org/jdk19/pull/144


More information about the hotspot-jfr-dev mailing list