Integrated: 8284686: Interval of < 1 ms disables ExecutionSample events
Johannes Bechberger
duke at openjdk.java.net
Mon May 9 19:31:52 UTC 2022
On Mon, 11 Apr 2022 16:53:08 GMT, Johannes Bechberger <duke at openjdk.java.net> wrote:
> Fixes the issue by rounding the period interval to the next full millisecond larger than zero.
>
> The following from the bug report works now:
>
> java -XX:StartFlightRecording=filename=flight.jfr,jdk.ExecutionSample#period=999us CLASS_FILE; jfr print --events jdk.ExecutionSample flight.jfr
>
> It considers the period to be `1ms`, producing the recording as expected.
This pull request has now been integrated.
Changeset: 902b1dd4
Author: Johannes Bechberger <johannes.bechberger at sap.com>
Committer: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/902b1dd4550136c520e5ec6cb8c4fe9a81218938
Stats: 100 lines in 2 files changed: 97 ins; 0 del; 3 mod
8284686: Interval of < 1 ms disables ExecutionSample events
Reviewed-by: egahlin
-------------
PR: https://git.openjdk.java.net/jdk/pull/8183
More information about the hotspot-jfr-dev
mailing list