RFR: 8292592: JFR test TestNative is not reliable due to low rate of sampling.
Robbin Ehn
rehn at openjdk.org
Thu Aug 18 12:28:21 UTC 2022
On Thu, 18 Aug 2022 12:19:54 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> The new test uses jdk.ExecutionSample, not jdk.NativeMethodSample. This might be by design, but I thought I should mention it.
Yes, you are correct @egahlin.
If we are to not use a native library we have no reliable methods to call for native sample. (when using so low sample rate)
Since the sampler issue with long sleep should be trigger by either sampled typed this was much better IMHO.
-------------
PR: https://git.openjdk.org/jdk/pull/9915
More information about the hotspot-jfr-dev
mailing list