--- old/src/share/vm/runtime/arguments.cpp 2017-03-16 14:28:01.505799121 +0100 +++ new/src/share/vm/runtime/arguments.cpp 2017-03-16 14:27:57.502799933 +0100 @@ -2489,6 +2489,12 @@ FLAG_SET_CMDLINE(bool, ValueTypePassFieldsAsArgs, false); warning("ValueTypePassFieldsAsArgs is not supported on this platform"); } + + if (FLAG_IS_DEFAULT(TieredCompilation)) { + // C1 has no support for value types + TieredCompilation = false; + } + return status; } --- old/test/runtime/valhalla/valuetypes/DeriveValueTypeCreation.java 2017-03-16 14:28:06.078798193 +0100 +++ new/test/runtime/valhalla/valuetypes/DeriveValueTypeCreation.java 2017-03-16 14:28:02.049799010 +0100 @@ -43,6 +43,7 @@ * @library /testlibrary / * @build runtime.valhalla.valuetypes.ValueCapableClass * @run main/othervm -Xint -noverify runtime.valhalla.valuetypes.DeriveValueTypeCreation + * @run main/othervm -Xcomp -noverify runtime.valhalla.valuetypes.DeriveValueTypeCreation */ public class DeriveValueTypeCreation { --- old/test/runtime/valhalla/valuetypes/InvokeDirect.java 2017-03-16 14:28:10.318797332 +0100 +++ new/test/runtime/valhalla/valuetypes/InvokeDirect.java 2017-03-16 14:28:06.720798062 +0100 @@ -7,6 +7,7 @@ * @summary Value Type invokedirect bytecode test (incomplete until type system defn done) * @library /testlibrary / * @run main/othervm -noverify -Xint runtime.valhalla.valuetypes.InvokeDirect + * @run main/othervm -noverify -Xcomp runtime.valhalla.valuetypes.InvokeDirect */ public class InvokeDirect { public static void main(String[] args) { --- old/test/runtime/valhalla/valuetypes/VDefaultTest.java 2017-03-16 14:28:14.876796407 +0100 +++ new/test/runtime/valhalla/valuetypes/VDefaultTest.java 2017-03-16 14:28:10.749797245 +0100 @@ -30,6 +30,7 @@ * @summary vdefault bytecode test * @library /testlibrary / * @run main/othervm -noverify -Xint runtime.valhalla.valuetypes.VDefaultTest + * @run main/othervm -noverify -Xcomp runtime.valhalla.valuetypes.VDefaultTest */ public class VDefaultTest { --- old/test/runtime/valhalla/valuetypes/VWithFieldTest.java 2017-03-16 14:28:18.712795629 +0100 +++ new/test/runtime/valhalla/valuetypes/VWithFieldTest.java 2017-03-16 14:28:15.306796320 +0100 @@ -30,6 +30,7 @@ * @summary vwithfield bytecode test * @library /testlibrary / * @run main/othervm -noverify -Xint runtime.valhalla.valuetypes.VWithFieldTest + * @run main/othervm -noverify -Xcomp runtime.valhalla.valuetypes.VWithFieldTest */ public class VWithFieldTest { --- old/test/runtime/valhalla/valuetypes/ValueTypeArray.java 2017-03-16 14:28:23.386794681 +0100 +++ new/test/runtime/valhalla/valuetypes/ValueTypeArray.java 2017-03-16 14:28:19.294795511 +0100 @@ -33,6 +33,8 @@ * @library /testlibrary / * @run main/othervm -noverify -Xint -XX:+ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray * @run main/othervm -noverify -Xint -XX:-ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray + * @run main/othervm -noverify -Xcomp -XX:+ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray + * @run main/othervm -noverify -Xcomp -XX:-ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray */ public class ValueTypeArray { public static void main(String[] args) { --- old/test/runtime/valhalla/valuetypes/ValueTypeCreation.java 2017-03-16 14:28:27.138793919 +0100 +++ new/test/runtime/valhalla/valuetypes/ValueTypeCreation.java 2017-03-16 14:28:23.836794589 +0100 @@ -7,6 +7,7 @@ * @summary Value Type creation test * @library /testlibrary / * @run main/othervm -noverify -Xint runtime.valhalla.valuetypes.ValueTypeCreation + * @run main/othervm -noverify -Xcomp runtime.valhalla.valuetypes.ValueTypeCreation */ public class ValueTypeCreation { public static void main(String[] args) { --- old/test/runtime/valhalla/valuetypes/ValueTypeDensity.java 2017-03-16 14:28:31.300793075 +0100 +++ new/test/runtime/valhalla/valuetypes/ValueTypeDensity.java 2017-03-16 14:28:27.508793844 +0100 @@ -36,6 +36,7 @@ * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -noverify -Xint -XX:+ValueArrayFlatten -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ValueTypeDensity + * @run main/othervm -noverify -Xcomp -XX:+ValueArrayFlatten -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ValueTypeDensity */ public class ValueTypeDensity { --- old/test/runtime/valhalla/valuetypes/ValueTypeGetField.java 2017-03-16 14:28:35.848792152 +0100 +++ new/test/runtime/valhalla/valuetypes/ValueTypeGetField.java 2017-03-16 14:28:31.734792987 +0100 @@ -7,6 +7,7 @@ * @summary Value Type get field test * @library /testlibrary / * @run main/othervm -noverify -Xint runtime.valhalla.valuetypes.ValueTypeGetField + * @run main/othervm -noverify -Xcomp runtime.valhalla.valuetypes.ValueTypeGetField */ public class ValueTypeGetField { --- old/test/runtime/valhalla/valuetypes/VboxUnbox.java 2017-03-16 14:28:40.386791231 +0100 +++ new/test/runtime/valhalla/valuetypes/VboxUnbox.java 2017-03-16 14:28:36.301792060 +0100 @@ -33,6 +33,7 @@ * @library /testlibrary / * @build runtime.valhalla.valuetypes.ValueCapableClass * @run main/othervm -Xint -noverify runtime.valhalla.valuetypes.VboxUnbox + * @run main/othervm -Xcomp -noverify runtime.valhalla.valuetypes.VboxUnbox * * To dump generated byte-code, add "-Dvalhalla.dumpIsolatedMethodClasses=/tmp/foo" */