RFR: 8259565: Zero: compiler/runtime/criticalnatives fails because CriticalJNINatives is not supported
Coleen Phillimore
coleenp at openjdk.java.net
Mon Jan 11 14:42:55 UTC 2021
On Mon, 11 Jan 2021 14:12:33 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> 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)
Looks good and can be pushed under the trivial rules.
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2027
More information about the hotspot-dev
mailing list