changeset 13040:641b106d1560 mvt

Class::isValueClass tests if a subclass of __Value to resolve test regression
author mchung
date Wed, 28 Jun 2017 16:38:15 +0800
parents 5ff8426dfa49
children 823e229a1ee5
files test/runtime/valhalla/valuetypes/DeriveValueTypeCreation.java test/runtime/valhalla/valuetypes/MVTComboTier1.java test/runtime/valhalla/valuetypes/ValueOops.java test/runtime/valhalla/valuetypes/VboxUnbox.java
diffstat 4 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/valhalla/valuetypes/DeriveValueTypeCreation.java	Tue Jun 27 12:50:51 2017 +0200
+++ b/test/runtime/valhalla/valuetypes/DeriveValueTypeCreation.java	Wed Jun 28 16:38:15 2017 +0800
@@ -44,7 +44,9 @@
  * @modules java.base/jdk.internal.org.objectweb.asm
  * @build runtime.valhalla.valuetypes.ValueCapableClass
  * @run main/othervm -Xint -noverify -XX:+EnableMVT runtime.valhalla.valuetypes.DeriveValueTypeCreation
- * @run main/othervm -Xcomp -noverify -XX:+EnableMVT runtime.valhalla.valuetypes.DeriveValueTypeCreation
+ * @run main/othervm -Xcomp -noverify -XX:+EnableMVT
+ *                   -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_isAssignableFrom
+ *                   runtime.valhalla.valuetypes.DeriveValueTypeCreation
  */
 public class DeriveValueTypeCreation {
 
--- a/test/runtime/valhalla/valuetypes/MVTComboTier1.java	Tue Jun 27 12:50:51 2017 +0200
+++ b/test/runtime/valhalla/valuetypes/MVTComboTier1.java	Wed Jun 28 16:38:15 2017 +0800
@@ -38,7 +38,9 @@
  * @build jdk.test.lib.combo.ComboTestHelper
  * @run main/othervm -noverify -Xint -XX:+EnableMVT runtime.valhalla.valuetypes.MVTComboTier1 3
  * @run main/othervm -noverify -Xint -XX:+EnableMVT runtime.valhalla.valuetypes.MVTComboTier1 -reducetypes 6
- * @run main/othervm -noverify -Xcomp -XX:+EnableMVT runtime.valhalla.valuetypes.MVTComboTier1 -reducetypes 5
+ * @run main/othervm -noverify -Xcomp -XX:+EnableMVT
+  *                  -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_isAssignableFrom
+  *                  runtime.valhalla.valuetypes.MVTComboTier1 -reducetypes 5
  */
 public class MVTComboTier1 {
 
--- a/test/runtime/valhalla/valuetypes/ValueOops.java	Tue Jun 27 12:50:51 2017 +0200
+++ b/test/runtime/valhalla/valuetypes/ValueOops.java	Wed Jun 28 16:38:15 2017 +0800
@@ -55,15 +55,19 @@
  *                   -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   runtime.valhalla.valuetypes.ValueOops
  * @run main/othervm -Xcomp -noverify -XX:+UseSerialGC -Xmx128m -XX:+EnableMVT
+ *                   -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_isAssignableFrom
  *                   -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   runtime.valhalla.valuetypes.ValueOops
  * @run main/othervm -Xcomp -noverify -XX:+UseG1GC -Xmx128m -XX:+EnableMVT
+ *                   -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_isAssignableFrom
  *                   -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   runtime.valhalla.valuetypes.ValueOops
  * @run main/othervm -Xcomp -noverify -XX:+UseParallelGC -Xmx128m -XX:+EnableMVT
+ *                   -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_isAssignableFrom
  *                   -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   runtime.valhalla.valuetypes.ValueOops
  * @run main/othervm -Xcomp -noverify -XX:+UseConcMarkSweepGC -Xmx128m -XX:+EnableMVT
+ *                   -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_isAssignableFrom
  *                   -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   runtime.valhalla.valuetypes.ValueOops
  */
--- a/test/runtime/valhalla/valuetypes/VboxUnbox.java	Tue Jun 27 12:50:51 2017 +0200
+++ b/test/runtime/valhalla/valuetypes/VboxUnbox.java	Wed Jun 28 16:38:15 2017 +0800
@@ -33,7 +33,9 @@
  * @library /test/lib
  * @build runtime.valhalla.valuetypes.ValueCapableClass
  * @run main/othervm -Xint -noverify -XX:+EnableMVT runtime.valhalla.valuetypes.VboxUnbox
- * @run main/othervm -Xcomp -noverify -XX:+EnableMVT runtime.valhalla.valuetypes.VboxUnbox
+ * @run main/othervm -Xcomp -noverify -XX:+EnableMVT
+ *                   -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_isAssignableFrom
+ *                   runtime.valhalla.valuetypes.VboxUnbox
  */
 public class VboxUnbox {