RFR: 8284686: Interval of < 1 ms disables ExecutionSample events
Erik Gahlin
egahlin at openjdk.java.net
Thu Apr 28 12:07:42 UTC 2022
On Thu, 28 Apr 2022 11:22:35 GMT, Johannes Bechberger <duke at openjdk.java.net> 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.
I want to test that events are emitted. A check of EventType::isEnabled could return true, but events still not being recorded.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8183
More information about the hotspot-jfr-dev
mailing list