JDK-8292592 : JFR test TestNative is not reliable due to low rate of sampling.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 20
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-08-18
  • Updated: 2022-08-19
  • Resolved: 2022-08-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 masterFixed
Related Reports
Blocks :  
Relates :  
Relates :  
Description
When testing 8292591, which changes the timing of transitions and the sampler verification, it exposed an issue with TestNative.

The stable version of the test was changed to used a more by chance approach in "8237574: Make TestNative work without -nativepath".
And later a test for 8288846 was baked into this existing test and the sampling was increased to a very large interval.

When running with 8292591 it take a very long time before we get luck.

Comments
Changeset: 45dec480 Author: Robbin Ehn <rehn@openjdk.org> Date: 2022-08-19 16:05:08 +0000 URL: https://git.openjdk.org/jdk/commit/45dec480ef6f1d5509f4afbbf414c69584ac252e
19-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9915 Date: 2022-08-18 10:51:57 +0000
18-08-2022