[jdk17] RFR: 8269125: Klass enqueue element size calculation wrong when traceid value cross compress limit

Markus Grönlund mgronlun at openjdk.java.net
Tue Jun 22 15:24:42 UTC 2021


Greetings,

please help review this changeset to address an issue with erroneous size calculations as part of enqueuing compressed vs uncompressed elements representing tagged Klasses as part of the JFR load barrier. This issue was spotted during long-running stress testing which loads a huge quantity of classes (~256 million).

Testing: jdk_jfr

Thanks
Markus

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

Commit messages:
 - Klass enqueue element size calculation wrong when traceid value cross compress limit

Changes: https://git.openjdk.java.net/jdk17/pull/119/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=119&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8269125
  Stats: 13 lines in 2 files changed: 5 ins; 4 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/119.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/119/head:pull/119

PR: https://git.openjdk.java.net/jdk17/pull/119


More information about the hotspot-jfr-dev mailing list