-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 15
-
Component/s: hotspot
-
b09
TestNative compiles a JNI method and verifies that a native sample event can be taken. This works well when running tests using 'make test', but is a nuisance when running JFR test from the command line as you need to specify -nativepath or the test fails.
Instead of compiling a native method, we could use an already existing native method in the jdk.jfr.JVM class.
Instead of compiling a native method, we could use an already existing native method in the jdk.jfr.JVM class.
- relates to
-
JDK-8292592 JFR test TestNative is not reliable due to low rate of sampling.
-
- Resolved
-
- links to
-
Commit
openjdk/panama-foreign/28801066