[jdk25u] RFR: 8362573: Incorrect weight of the first ObjectAllocationSample JFR event (regression)

Vishal Chand duke at openjdk.org
Fri Nov 28 01:28:55 UTC 2025


On Fri, 21 Nov 2025 21:04:33 GMT, Vishal Chand <duke at openjdk.org> wrote:

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

Closing in favour of - https://github.com/openjdk/jdk25u-dev/pull/29

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

PR Comment: https://git.openjdk.org/jdk25u/pull/385#issuecomment-3587644427


More information about the jdk-updates-dev mailing list