RFR: 8284686: Interval of < 1 ms disables ExecutionSample events

Johannes Bechberger duke at openjdk.java.net
Thu Apr 28 11:24:53 UTC 2022


On Thu, 28 Apr 2022 10:44:36 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Perhaps something like this. I have not tested the code.

What do you want to test with this? 

A far simpler test could be to just check that after calling `.withPeriod(Duration.ofNanos(1))` sample events are still enabled.

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

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


More information about the hotspot-jfr-dev mailing list