changeset 48134:4ff52287878e mvt

8193310: [MVT] Graph for 'TestMinimalValueTypes::test7' fails IR verification Reviewed-by: roland
author thartmann
date Mon, 11 Dec 2017 14:15:31 +0100
parents e7093d05fd9f
children b21ccc919d96
files test/hotspot/jtreg/compiler/valhalla/valuetypes/ValueTypeTest.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/compiler/valhalla/valuetypes/ValueTypeTest.java	Thu Dec 07 15:40:20 2017 +0100
+++ b/test/hotspot/jtreg/compiler/valhalla/valuetypes/ValueTypeTest.java	Mon Dec 11 14:15:31 2017 +0100
@@ -187,6 +187,10 @@
     private void execute_vm() throws Throwable {
         Asserts.assertFalse(tests.isEmpty(), "no tests to execute");
         ArrayList<String> args = new ArrayList<String>(defaultFlags);
+        if (VERIFY_IR) {
+            // Always trap for exception throwing to not confuse IR verification
+            args.add("-XX:-OmitStackTraceInFastThrow");
+        }
         if (VERIFY_VM) {
             args.addAll(verifyFlags);
         }