RFR: 8284686: Interval of < 1 ms disables ExecutionSample events [v5]

Johannes Bechberger duke at openjdk.java.net
Thu May 5 08:50:20 UTC 2022


On Fri, 29 Apr 2022 11:16:27 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.
>
> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revert "Remove Thread from make_walkable signature"
>   
>   This reverts commit fe7d7116611a26abc229e7fb8f846bb3cf1e26ab.

I'm currently struggling with writing the tests as there are problems, even with durations > 1ms and on the stock JVM.

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

PR: https://git.openjdk.java.net/jdk/pull/8183


More information about the hotspot-jfr-dev mailing list