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

Markus Grönlund mgronlun at openjdk.org
Wed Jul 6 11:28:32 UTC 2022


On Tue, 5 Jul 2022 14:08:24 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

> 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.

Marked as reviewed by mgronlun (Reviewer).

Great Ralf, thank you for finding and fixing this.

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

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


More information about the hotspot-dev mailing list