[jdk25u] RFR: 8362573: Incorrect weight of the first ObjectAllocationSample JFR event (regression)
Vishal Chand
duke at openjdk.org
Fri Nov 21 21:09:48 UTC 2025
Backport of:
* 8362573: Incorrect weight of the first ObjectAllocationSample JFR event (regression)
* Fixes the incorrect weight reported for the first ObjectAllocationSample JFR event by ensuring that allocations that occurred before the recording start are not counted in the event weight.
Testing
* New test passes with the fix and fails without the fix.
Low risk as this is a clean backport.
-------------
Commit messages:
- Backport b19e872192106f47c5d9b425230cc2bfe3e4786c
Changes: https://git.openjdk.org/jdk25u/pull/385/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u&pr=385&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8362573
Stats: 177 lines in 7 files changed: 116 ins; 30 del; 31 mod
Patch: https://git.openjdk.org/jdk25u/pull/385.diff
Fetch: git fetch https://git.openjdk.org/jdk25u.git pull/385/head:pull/385
PR: https://git.openjdk.org/jdk25u/pull/385
More information about the jdk-updates-dev
mailing list