-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run scripts for value types openjdk tests
- Loading branch information
Showing
12 changed files
with
207 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# List of tests to exclude from inlinetypes tests | ||
|
||
# https://github.com/eclipse-openj9/openj9/issues/20522 | ||
compiler/valhalla/inlinetypes/TestArrayCopyWithOops.java 13182 generic-all | ||
# https://github.com/eclipse-openj9/openj9/issues/20512 | ||
runtime/valhalla/inlinetypes/TestJNIIsSameObject.java 13182 generic-all | ||
# https://github.com/eclipse-openj9/openj9/issues/20472 | ||
runtime/valhalla/inlinetypes/verifier/StrictFields.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestUnloadedInlineTypeArray.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestFlatArrayThreshold.java 13182 generic-all | ||
runtime/valhalla/inlinetypes/CircularityTest.java 13182 generic-all | ||
# https://github.com/eclipse-openj9/openj9/issues/13797 | ||
runtime/valhalla/inlinetypes/StaticFieldsTest.java 13182 generic-all | ||
# https://github.com/eclipse-openj9/openj9/issues/13789 | ||
runtime/valhalla/inlinetypes/ObjectMethods.java 13182 generic-all | ||
# https://github.com/eclipse-openj9/openj9/issues/20510 | ||
runtime/valhalla/inlinetypes/AnnotationsTests.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestCallingConventionC1.java 13182 generic-all | ||
runtime/valhalla/inlinetypes/InlineWithJni.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestBufferTearing.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestLarvalState.java 13182 generic-all | ||
runtime/valhalla/inlinetypes/TestInheritedInlineTypeFields.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestBufferTearingC1.java 13182 generic-all | ||
|
||
# Class init/unsafe library errors - wait for extensions update | ||
compiler/valhalla/inlinetypes/TestIntrinsics.java 13182 generic-all | ||
# This test is not able to compile, wait for extensions update | ||
runtime/valhalla/inlinetypes/InlineTypesTest.java 13182 generic-all | ||
|
||
# Ignore this for now - inconsistent with https://openjdk.org/jeps/8316779 | ||
runtime/valhalla/inlinetypes/NullRestrictedArrayTest.java 13182 generic-all | ||
runtime/valhalla/inlinetypes/InlineTypeArray.java 13182 generic-all | ||
|
||
### Hotspot specific tests - these tests can't be run ### | ||
# J9's flattening policy flattens volatile fields that are <= 8 bytes | ||
runtime/valhalla/inlinetypes/VolatileTest.java 13182 generic-all | ||
# testing vm specific layouts | ||
runtime/valhalla/inlinetypes/field_layout/ValueFieldInheritanceTest.java#64bitsCompressedOops 13182 generic-all | ||
runtime/valhalla/inlinetypes/field_layout/ValueFieldInheritanceTest.java#64bitsNoCompressedOops 13182 generic-all | ||
runtime/valhalla/inlinetypes/field_layout/ValueFieldInheritanceTest.java#64bitsNoCompressedOopsNoCompressKlassPointers 13182 generic-all | ||
runtime/valhalla/inlinetypes/field_layout/NullMarkersTest.java#NullMarker64CompressedOops 13182 generic-all | ||
runtime/valhalla/inlinetypes/field_layout/NullMarkersTest.java#NullMarker64NoCompressedOops 13182 generic-all | ||
runtime/valhalla/inlinetypes/field_layout/NullMarkersTest.java#NullMarker64NoCompressedOopsNoCompressedKlassPointers 13182 generic-all | ||
runtime/valhalla/inlinetypes/field_layout/FieldAlignmentTest.java#CompressedOops 13182 generic-all | ||
runtime/valhalla/inlinetypes/field_layout/FieldAlignmentTest.java#NoCompressedOops 13182 generic-all | ||
# Reliant on hotspot vm logging | ||
compiler/valhalla/inlinetypes/TestUnresolvedInlineClass.java 13182 generic-all | ||
# Command-line option unrecognised: -Xlog:class+preload | ||
runtime/valhalla/inlinetypes/PreloadCircularityTest.java 13182 generic-all | ||
runtime/valhalla/inlinetypes/ValuePreloadTest.java 13182 generic-all | ||
# Command VM.class_print_layout, not recognized | ||
runtime/valhalla/inlinetypes/ClassPrintLayoutDcmd.java 13182 generic-all | ||
# Relies on WhiteBox API which tests hotspot internals | ||
compiler/valhalla/inlinetypes/bootstrap/TestBootClassloader.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestArrays.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestBasicFunctionality.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestCallingConvention.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestC1.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestC2CCalls.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestDeoptimizationWhenBuffering.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestFlatInArraysFolding.java#id1 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestGetfieldChains.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestInlineFieldNonFlattened.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestJNICalls.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestLWorld.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestLWorldProfiling.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestMethodHandles.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestMismatchHandling.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestNewAcmp.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestNullableArrays.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestNullableInlineTypes.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestOnStackReplacement.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestUnloadedInlineTypeField.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestUnloadedReturnTypes.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestValueClasses.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestValueConstruction.java 13182 generic-all | ||
compiler/valhalla/inlinetypes/TestValueRematDuringTypeSharpening.java 13182 generic-all | ||
runtime/valhalla/inlinetypes/InlineTypeDensity.java 13182 generic-all | ||
runtime/valhalla/inlinetypes/ValueTearing.java 13182 generic-all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# https 20404 generic-all//github.com/eclipse-openj9/openj9/issues/20497 | ||
valhalla/valuetypes/RecursiveValueClass.java 20404 generic-all | ||
|
||
# https 20404 generic-all//github.com/eclipse-openj9/openj9/issues/20386 | ||
# This should be resolved by using migrated value classes | ||
# Value type class ObjectMethods$ValueRecord has an invalid super class java/lang/Record | ||
valhalla/valuetypes/ObjectMethods.java 20404 generic-all | ||
valhalla/valuetypes/ObjectMethodsViaCondy.java 20404 generic-all | ||
valhalla/valuetypes/UseValueClassTest.java 20404 generic-all | ||
|
||
# remaining failing tests that need to be triaged with Fields issue fixed | ||
java/lang/invoke/FindAccessTest.java 20404 generic-all | ||
java/lang/invoke/LoopCombinatorLongSignatureTest.java 20404 generic-all | ||
java/lang/invoke/MethodHandleProxies/WrapperHiddenClassTest.java 20404 generic-all | ||
java/lang/invoke/MethodHandlesGeneralTest.java 20404 generic-all | ||
java/lang/invoke/PrivateInvokeTest.java 20404 generic-all | ||
java/lang/invoke/SpecialInterfaceCall.java 20404 generic-all | ||
java/lang/invoke/VarHandles/VarHandleTestAccessValue.java 20404 generic-all | ||
java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessValue.java 20404 generic-all | ||
java/lang/invoke/defineHiddenClass/BasicTest.java 20404 generic-all | ||
valhalla/valuetypes/MHZeroValue.java 20404 generic-all | ||
valhalla/valuetypes/MethodHandleTest.java 20404 generic-all | ||
valhalla/valuetypes/NullRestrictedArraysTest.java 20404 generic-all | ||
valhalla/valuetypes/NullRestrictedTest.java 20404 generic-all | ||
valhalla/valuetypes/Reflection.java 20404 generic-all | ||
valhalla/valuetypes/SubstitutabilityTest.java 20404 generic-all | ||
valhalla/valuetypes/WeakReferenceTest.java 20404 generic-all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
JTREGHOME="/Users/theresamammarella/jtreg" | ||
EXTENSIONSBASEDIR=$(pwd) | ||
TEST_JDK_HOME=$EXTENSIONSBASEDIR/build/macosx-aarch64-server-release/images/jdk | ||
TEST_IMAGE=$EXTENSIONSBASEDIR/build/macosx-aarch64-server-release/images/test | ||
|
||
# run-test-prebuilt runs tests without recompiling the jdk | ||
make run-test-prebuilt \ | ||
TEST="hotspot_valhalla" \ | ||
JTREG_EXTRA_PROBLEM_LISTS="$EXTENSIONSBASEDIR/ProblemList-hotspotjtreg.txt" \ | ||
JTREG_JAVA_OPTIONS="--enable-preview -XX:ValueTypeFlatteningThreshold=99999 -XX:+EnableArrayFlattening -Djdk.debug=release --patch-module java.base=$EXTENSIONSBASEDIR/build/macosx-aarch64-server-release/jdk/lib/valueclasses/java.base-valueclasses.jar" \ | ||
BOOT_JDK=$TEST_JDK_HOME \ | ||
JT_HOME=$JTREGHOME \ | ||
JDK_IMAGE_DIR=$TEST_JDK_HOME \ | ||
TEST_IMAGE_DIR=$TEST_IMAGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
JTREGHOME="/Users/theresamammarella/jtreg" | ||
EXTENSIONSBASEDIR=$(pwd) | ||
TEST_JDK_HOME=$EXTENSIONSBASEDIR/build/macosx-aarch64-server-release/images/jdk | ||
TEST_IMAGE=$EXTENSIONSBASEDIR/build/macosx-aarch64-server-release/images/test | ||
|
||
# jdk_valhalla runs both "java/lang/invoke" and "valhalla" tests | ||
|
||
# run-test-prebuilt runs tests without recompiling the jdk | ||
make run-test-prebuilt \ | ||
TEST="jdk_valhalla" \ | ||
JTREG_EXTRA_PROBLEM_LISTS="$EXTENSIONSBASEDIR/ProblemList-jdkvalhallavaluetypes.txt" \ | ||
JTREG_JAVA_OPTIONS="--enable-preview -XX:ValueTypeFlatteningThreshold=99999 -XX:+EnableArrayFlattening --patch-module java.base=$EXTENSIONSBASEDIR/build/macosx-aarch64-server-release/jdk/lib/valueclasses/java.base-valueclasses.jar" \ | ||
BOOT_JDK=$TEST_JDK_HOME \ | ||
JT_HOME=$JTREGHOME \ | ||
JDK_IMAGE_DIR=$TEST_JDK_HOME \ | ||
TEST_IMAGE_DIR=$TEST_IMAGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. | ||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
* | ||
* This code is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 only, as | ||
* published by the Free Software Foundation. | ||
* | ||
* This code is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
* version 2 for more details (a copy is included in the LICENSE file that | ||
* accompanied this code). | ||
* | ||
* You should have received a copy of the GNU General Public License version | ||
* 2 along with this work; if not, write to the Free Software Foundation, | ||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
* | ||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
* or visit www.oracle.com if you need additional information or have any | ||
* questions. | ||
*/ | ||
package org.openjdk.asmtools.jcoder; | ||
|
||
/** | ||
* A sorted list of error messages | ||
*/ | ||
final class ErrorMessage { | ||
|
||
int where; | ||
String message; | ||
ErrorMessage next; | ||
|
||
/** | ||
* Constructor | ||
*/ | ||
ErrorMessage(int where, String message) { | ||
this.where = where; | ||
this.message = message; | ||
} | ||
} |