< prev index next >

test/hotspot/jtreg/compiler/valhalla/valuetypes/ValueTypeTest.java

Print this page

        

@@ -185,10 +185,14 @@
     }
 
     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);
         }
         // Run tests in own process and verify output
         args.add(getClass().getName());
< prev index next >