RFR: 8259565: Zero: runtime/criticalnatives fails because CriticalJNINatives is not supported
Aleksey Shipilev
shade at openjdk.java.net
Mon Jan 11 14:17:11 UTC 2021
Zero does not support CriticalJNINatives (and that flag is going away soon), and so the tests are failing with:
$ CONF=linux-x86_64-zero-fastdebug make exploded-run-test TEST=compiler/runtime/criticalnatives/
java.lang.Exception: critical native lookup failed
at compiler.runtime.criticalnatives.argumentcorruption.CheckLongArgs.check(CheckLongArgs.java:58)
at compiler.runtime.criticalnatives.argumentcorruption.CheckLongArgs.test(CheckLongArgs.java:48)
at compiler.runtime.criticalnatives.argumentcorruption.CheckLongArgs.main(CheckLongArgs.java:38)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
There are similar issues for AArch64 (JDK-8191129) and ARM32 (JDK-8213794). Zero needs the same.
Additional testing:
- [x] Linux x86_64 Zero `compiler/runtime/criticalnatives` (now skipped)
- [x] Linux x86_64 Server `compiler/runtime/criticalnatives` (still run and pass)
-------------
Commit messages:
- 8259565: Zero: runtime/criticalnatives fails because CriticalJNINatives is not supported
Changes: https://git.openjdk.java.net/jdk/pull/2027/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2027&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8259565
Stats: 6 lines in 3 files changed: 4 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/2027.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2027/head:pull/2027
PR: https://git.openjdk.java.net/jdk/pull/2027
More information about the hotspot-dev
mailing list