RFR: 8362573: Incorrect weight of the first ObjectAllocationSample JFR event (regression) [v3]
Markus Grönlund
mgronlun at openjdk.org
Tue Sep 23 12:32:04 UTC 2025
> Greetings,
>
> Fix to ensure that the ObjectAllocationSample event sample weight property is initialized correctly when the event is enabled.
>
> The previous clearing logic has been integrated into the existing thread iteration as part of the notify process, to avoid double passes. In addition, clearing and the event only apply to the set of JavaThreads.
>
> This time also includes a regression test.
>
> Testing: jdk_jfr
>
> Thanks
> Markus
Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
invert condition
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26900/files
- new: https://git.openjdk.org/jdk/pull/26900/files/3287e371..2fda62f7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26900&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26900&range=01-02
Stats: 4 lines in 3 files changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/26900.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26900/head:pull/26900
PR: https://git.openjdk.org/jdk/pull/26900
More information about the hotspot-jfr-dev
mailing list