[aarch64-port-dev ] RFD: AOT for AArch64
Dmitry Chuyko
dmitry.chuyko at bell-sw.com
Thu Mar 29 17:27:54 UTC 2018
On 03/29/2018 07:18 PM, Andrew Haley wrote:
> On 03/29/2018 04:46 PM, Andrew Haley wrote:
>> --------------------------------------------------
>> ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: CompileCodeTestCase{executable=public default int compiler.jvmci.compilerToVM.CompileCodeTestCase$Interface.defaultMethod(java.lang.Object), bci=-1} : 2nd invocation returned different value: expected
> This failing JVMCI test is because the first time that the Disassembler
> runs it outputs the string
>
> "[Disassembling for mach='aarch64']\n"
>
> I don't know why the disassembler produces that string, but it certainly
> isn't a bug in JVMCI.
>
Looks more like a test bug. Just to mention, there are also some x86
specific tests that pretend being a jvmci compiler and thus they are
excluded for other platforms.
I realized that something went wrong when I checked out from Github and
some of your fresh changes were lost. Thanks for giving a hint that the
problem was with Graal modules. Things become better after re-taking
Graal steps from the start.
Updated jtreg results below.
-Dmitry
AOT. Test results: passed: 41; failed: 12; error: 8
JVMCI. Test results: passed: 73; failed: 2
==== AOT AArch64 ====
FAILED: compiler/aot/calls/fromAot/AotInvokeDynamic2AotTest.java
Passed: compiler/aot/calls/fromAot/AotInvokeDynamic2CompiledTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeDynamic2InterpretedTest.java
Error: compiler/aot/calls/fromAot/AotInvokeDynamic2NativeTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeInterface2AotTest.java
Passed: compiler/aot/calls/fromAot/AotInvokeInterface2CompiledTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeInterface2InterpretedTest.java
Error: compiler/aot/calls/fromAot/AotInvokeInterface2NativeTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeSpecial2AotTest.java
Passed: compiler/aot/calls/fromAot/AotInvokeSpecial2CompiledTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeSpecial2InterpretedTest.java
Error: compiler/aot/calls/fromAot/AotInvokeSpecial2NativeTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeStatic2AotTest.java
Passed: compiler/aot/calls/fromAot/AotInvokeStatic2CompiledTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeStatic2InterpretedTest.java
Error: compiler/aot/calls/fromAot/AotInvokeStatic2NativeTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeVirtual2AotTest.java
Passed: compiler/aot/calls/fromAot/AotInvokeVirtual2CompiledTest.java
FAILED: compiler/aot/calls/fromAot/AotInvokeVirtual2InterpretedTest.java
Error: compiler/aot/calls/fromAot/AotInvokeVirtual2NativeTest.java
Passed: compiler/aot/calls/fromCompiled/CompiledInvokeDynamic2AotTest.java
Passed: compiler/aot/calls/fromCompiled/CompiledInvokeInterface2AotTest.java
Passed: compiler/aot/calls/fromCompiled/CompiledInvokeSpecial2AotTest.java
Passed: compiler/aot/calls/fromCompiled/CompiledInvokeStatic2AotTest.java
Passed: compiler/aot/calls/fromCompiled/CompiledInvokeVirtual2AotTest.java
Passed:
compiler/aot/calls/fromInterpreted/InterpretedInvokeDynamic2AotTest.java
Passed:
compiler/aot/calls/fromInterpreted/InterpretedInvokeInterface2AotTest.java
Passed:
compiler/aot/calls/fromInterpreted/InterpretedInvokeSpecial2AotTest.java
Passed:
compiler/aot/calls/fromInterpreted/InterpretedInvokeStatic2AotTest.java
Passed:
compiler/aot/calls/fromInterpreted/InterpretedInvokeVirtual2AotTest.java
Error: compiler/aot/calls/fromNative/NativeInvokeSpecial2AotTest.java
Error: compiler/aot/calls/fromNative/NativeInvokeStatic2AotTest.java
Error: compiler/aot/calls/fromNative/NativeInvokeVirtual2AotTest.java
Passed: compiler/aot/cli/jaotc/ClasspathOptionUnknownClassTest.java
Passed: compiler/aot/cli/jaotc/CompileClassTest.java
Passed: compiler/aot/cli/jaotc/CompileClassWithDebugTest.java
Passed: compiler/aot/cli/jaotc/CompileDirectoryTest.java
Passed: compiler/aot/cli/jaotc/CompileJarTest.java
Passed: compiler/aot/cli/jaotc/CompileModuleTest.java
Passed: compiler/aot/cli/jaotc/ListOptionNotExistingTest.java
Passed: compiler/aot/cli/jaotc/ListOptionTest.java
Passed: compiler/aot/cli/jaotc/ListOptionWrongFileTest.java
Passed: compiler/aot/cli/DisabledAOTWithLibraryTest.java
Passed: compiler/aot/cli/IncorrectAOTLibraryTest.java
Passed: compiler/aot/cli/MultipleAOTLibraryTest.java
Passed: compiler/aot/cli/NonExistingAOTLibraryTest.java
Passed: compiler/aot/cli/SingleAOTLibraryTest.java
Passed: compiler/aot/cli/SingleAOTOptionTest.java
Passed:
compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/directory/DirectorySourceProviderTest.java
Passed:
compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/jar/JarSourceProviderTest.java
Passed:
compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/module/ModuleSourceProviderTest.java
Passed:
compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/ClassSearchTest.java
Passed:
compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/ClassSourceTest.java
Passed:
compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/SearchPathTest.java
Passed:
compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/NativeOrderOutputStreamTest.java
Passed: compiler/aot/verification/vmflags/NotTrackedFlagTest.java
Passed: compiler/aot/verification/vmflags/TrackedFlagTest.java
Passed: compiler/aot/verification/ClassAndLibraryNotMatchTest.java
FAILED: compiler/aot/DeoptimizationTest.java
FAILED: compiler/aot/RecompilationTest.java
Passed: compiler/aot/SharedUsageTest.java
==== JVMCI AArch64 ====
Passed: compiler/jvmci/compilerToVM/AllocateCompileIdTest.java
Passed: compiler/jvmci/compilerToVM/AsResolvedJavaMethodTest.java
Passed: compiler/jvmci/compilerToVM/CollectCountersTest.java
Passed: compiler/jvmci/compilerToVM/DebugOutputTest.java
Passed: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java
Passed: compiler/jvmci/compilerToVM/DoNotInlineOrCompileTest.java
Passed: compiler/jvmci/compilerToVM/ExecuteInstalledCodeTest.java
Passed: compiler/jvmci/compilerToVM/FindUniqueConcreteMethodTest.java
Passed: compiler/jvmci/compilerToVM/GetBytecodeTest.java
Passed: compiler/jvmci/compilerToVM/GetClassInitializerTest.java
Passed: compiler/jvmci/compilerToVM/GetConstantPoolTest.java
Passed: compiler/jvmci/compilerToVM/GetExceptionTableTest.java
Passed: compiler/jvmci/compilerToVM/GetFlagValueTest.java
Passed: compiler/jvmci/compilerToVM/GetImplementorTest.java
Passed: compiler/jvmci/compilerToVM/GetLineNumberTableTest.java
Passed: compiler/jvmci/compilerToVM/GetLocalVariableTableTest.java
Passed: compiler/jvmci/compilerToVM/GetMaxCallTargetOffsetTest.java
Passed: compiler/jvmci/compilerToVM/GetNextStackFrameTest.java
Passed: compiler/jvmci/compilerToVM/GetResolvedJavaMethodTest.java
FAILED: compiler/jvmci/compilerToVM/GetResolvedJavaTypeTest.java
Passed: compiler/jvmci/compilerToVM/GetStackTraceElementTest.java
Passed: compiler/jvmci/compilerToVM/GetSymbolTest.java
Passed: compiler/jvmci/compilerToVM/GetVtableIndexForInterfaceTest.java
Passed: compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java
Passed: compiler/jvmci/compilerToVM/HasFinalizableSubclassTest.java
Passed: compiler/jvmci/compilerToVM/HasNeverInlineDirectiveTest.java
FAILED: compiler/jvmci/compilerToVM/InvalidateInstalledCodeTest.java
Passed: compiler/jvmci/compilerToVM/IsCompilableTest.java
Passed: compiler/jvmci/compilerToVM/IsMatureTest.java
Passed: compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java
Passed: compiler/jvmci/compilerToVM/JVM_RegisterJVMCINatives.java
Passed: compiler/jvmci/compilerToVM/LookupKlassInPoolTest.java
Passed: compiler/jvmci/compilerToVM/LookupKlassRefIndexInPoolTest.java
Passed: compiler/jvmci/compilerToVM/LookupMethodInPoolTest.java
Passed: compiler/jvmci/compilerToVM/LookupNameAndTypeRefIndexInPoolTest.java
Passed: compiler/jvmci/compilerToVM/LookupNameInPoolTest.java
Passed: compiler/jvmci/compilerToVM/LookupSignatureInPoolTest.java
Passed: compiler/jvmci/compilerToVM/LookupTypeTest.java
Passed: compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java
Passed:
compiler/jvmci/compilerToVM/MethodIsIgnoredBySecurityStackWalkTest.java
Passed: compiler/jvmci/compilerToVM/ReadConfigurationTest.java
Passed: compiler/jvmci/compilerToVM/ReprofileTest.java
Passed: compiler/jvmci/compilerToVM/ResolveConstantInPoolTest.java
Passed: compiler/jvmci/compilerToVM/ResolveFieldInPoolTest.java
Passed: compiler/jvmci/compilerToVM/ResolveMethodTest.java
Passed:
compiler/jvmci/compilerToVM/ResolvePossiblyCachedConstantInPoolTest.java
Passed: compiler/jvmci/compilerToVM/ResolveTypeInPoolTest.java
Passed: compiler/jvmci/compilerToVM/ShouldDebugNonSafepointsTest.java
Passed: compiler/jvmci/compilerToVM/ShouldInlineMethodTest.java
Passed: compiler/jvmci/errors/TestInvalidCompilationResult.java
Passed: compiler/jvmci/errors/TestInvalidDebugInfo.java
Passed: compiler/jvmci/errors/TestInvalidOopMap.java
Passed: compiler/jvmci/events/JvmciNotifyBootstrapFinishedEventTest.java
Passed: compiler/jvmci/events/JvmciNotifyInstallEventTest.java
Passed: compiler/jvmci/events/JvmciShutdownEventTest.java
Passed:
compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/HotSpotConstantReflectionProviderTest.java
Passed:
compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/MemoryAccessProviderTest.java
Passed:
compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/MethodHandleAccessProviderTest.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/ConstantTest.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/RedefineClassTest.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/ResolvedJavaTypeResolveConcreteMethodTest.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/ResolvedJavaTypeResolveMethodTest.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestConstantReflectionProvider.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestJavaField.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestJavaMethod.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestJavaType.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestMetaAccessProvider.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaField.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaMethod.java
Passed:
compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java
Passed: compiler/jvmci/meta/StableFieldTest.java
Passed: compiler/jvmci/JVM_GetJVMCIRuntimeTest.java
Passed: compiler/jvmci/SecurityRestrictionsTest.java
Passed: compiler/jvmci/TestJVMCIPrintProperties.java
Passed: compiler/jvmci/TestValidateModules.java
More information about the aarch64-port-dev
mailing list