RFR: 8289745: JfrStructCopyFailed uses heap words instead of bytes for object sizes

Ralf Schmelter rschmelter at openjdk.org
Tue Jul 5 14:17:13 UTC 2022


The values for smallestSize, firstSize and totalSize in the CopyFailed type are set as the number of heap words, but should be number of bytes. This leads to wrong values in the PromotionFailed and EvacuationFailed JFR events containing this type.

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

Commit messages:
 - Convert size in heap words to bytes for CopyFailed JFR type

Changes: https://git.openjdk.org/jdk/pull/9378/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9378&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8289745
  Stats: 14 lines in 4 files changed: 8 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/9378.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9378/head:pull/9378

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


More information about the hotspot-dev mailing list