< prev index next >

test/compiler/uncommontrap/UncommonTrapStackBang.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

@@ -25,12 +25,14 @@
 /**
  * @test
  * @bug 8026775
  * @summary Uncommon trap blob did not bang all the stack shadow pages
  *
- * @run main/othervm UncommonTrapStackBang
- *
+ * @run main/othervm compiler.uncommontrap.UncommonTrapStackBang
+ */
+
+/*
  * Note: This test does not reproduce the problem with absolute
  * certainty. Empirically the bug reproduces on Windows some 80+% of
  * the time. Setting everything up to fail in 100% of the cases turns
  * out to be tricky at best.
  *

@@ -53,10 +55,13 @@
  * by pre-touching stack pages. The bug was that it didn't correctly
  * pre-touch all the stack shadow pages, leaving a "hole" on the stack
  * which raises an exception on Windows when the stack bang in
  * StringBuilder is performed.
  */
+
+package compiler.uncommontrap;
+
 public class UncommonTrapStackBang extends Thread {
     class Foo { }
 
     public static void main(String[] args) throws Exception {
         doWarmup();
< prev index next >