Observed during JPRT testing of current jdk9/dev
TEST: compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java
TEST JDK: /opt/jprt/T/T1/221737.daholme/testproduct/solaris_sparcv9_5.11-fastdebug
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/jprt/T/P1/221737.daholme/s/hotspot/src/share/vm/runtime/sharedRuntime.cpp:1781), pid=25354, tid=41
# assert(sig_bt[member_arg_pos] == T_OBJECT) failed: dispatch argument must be an object
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-07-17-221737.daholme.jdk9-dev)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-07-17-221737.daholme.jdk9-dev, mixed mode, tiered, jvmci, compressed oops, g1 gc, solaris-sparc)
# Core dump will be written. Default location: /opt/jprt/T/T1/221737.daholme/s/hotspot/testoutput/hotspot_fast_compiler_2/JTwork/scratch/core or core.25354
#
Crash occurs on Solaris x86, Solaris sparc, Windows x64.
On Linux x64 test fails with out crash:
TEST: compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java
TEST JDK: /opt/jprt/T/P1/221737.daholme/testproduct/linux_x64_3.8-fastdebug
JavaTest Message: JUnit Failure: resolveConcreteMethodTest(jdk.vm.ci.runtime.test.TestResolvedJavaType): expected:<HotSpotMethod<MethodHandle.invoke(Object[])>> but was:<null>
java.lang.Exception: JUnit test failure
at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:128)
at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:87)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:533)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
No failures seen on 32-bit.
TEST: compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java
TEST JDK: /opt/jprt/T/T1/221737.daholme/testproduct/solaris_sparcv9_5.11-fastdebug
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/jprt/T/P1/221737.daholme/s/hotspot/src/share/vm/runtime/sharedRuntime.cpp:1781), pid=25354, tid=41
# assert(sig_bt[member_arg_pos] == T_OBJECT) failed: dispatch argument must be an object
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-07-17-221737.daholme.jdk9-dev)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-07-17-221737.daholme.jdk9-dev, mixed mode, tiered, jvmci, compressed oops, g1 gc, solaris-sparc)
# Core dump will be written. Default location: /opt/jprt/T/T1/221737.daholme/s/hotspot/testoutput/hotspot_fast_compiler_2/JTwork/scratch/core or core.25354
#
Crash occurs on Solaris x86, Solaris sparc, Windows x64.
On Linux x64 test fails with out crash:
TEST: compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java
TEST JDK: /opt/jprt/T/P1/221737.daholme/testproduct/linux_x64_3.8-fastdebug
JavaTest Message: JUnit Failure: resolveConcreteMethodTest(jdk.vm.ci.runtime.test.TestResolvedJavaType): expected:<HotSpotMethod<MethodHandle.invoke(Object[])>> but was:<null>
java.lang.Exception: JUnit test failure
at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:128)
at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:87)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:533)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
No failures seen on 32-bit.