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

Johannes Bechberger duke at openjdk.java.net
Fri Apr 29 11:07:37 UTC 2022


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

  Remove Thread from make_walkable signature

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8183/files
  - new: https://git.openjdk.java.net/jdk/pull/8183/files/a2c10675..fe7d7116

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8183&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8183&range=02-03

  Stats: 19 lines in 17 files changed: 0 ins; 2 del; 17 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8183.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8183/head:pull/8183

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


More information about the hotspot-jfr-dev mailing list