Integrated: 8259565: Zero: compiler/runtime/criticalnatives fails because CriticalJNINatives is not supported

Aleksey Shipilev shade at openjdk.java.net
Tue Jan 12 07:51:54 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)

This pull request has now been integrated.

Changeset: 9d4e84fd
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9d4e84fd
Stats:     6 lines in 3 files changed: 4 ins; 0 del; 2 mod

8259565: Zero: compiler/runtime/criticalnatives fails because CriticalJNINatives is not supported

Reviewed-by: coleenp, zgu

-------------

PR: https://git.openjdk.java.net/jdk/pull/2027


More information about the hotspot-dev mailing list