< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/stress/stack/stack001.java

Print this page




  34  * COMMENTS
  35  *     Kestrel for Solaris_JDK_1.3-b10 crashes while trying to execute
  36  *     this test with Client HS VM.
  37  *     See lots of bugs concerning similar failuires:
  38  *     Evaluated:
  39  *     4217960 [native stack overflow bug] reflection test causes crash
  40  *     Accepted:
  41  *     4285716 native stack overflow causes crash on Solaris
  42  *     4281578 Second stack overflow crashes HotSpot VM
  43  *     Closed (duplicate):
  44  *     4027933     Native stack overflows not detected or handled correctly
  45  *     4134353     (hpi) sysThreadCheckStack is a no-op on win32
  46  *     4185411     Various crashes when using recursive reflection.
  47  *     4167055     infinite recursion in FindClass
  48  *     4222359     Infinite recursion crashes jvm
  49  *     Closed (will not fix):
  50  *     4231968 StackOverflowError in a native method causes Segmentation Fault
  51  *     4254634     println() while catching StackOverflowError causes hotspot VM crash
  52  *     4302288 the second stack overflow causes Classic VM to exit on win32
  53  *

  54  * @run main/othervm nsk.stress.stack.stack001
  55  */
  56 
  57 package nsk.stress.stack;
  58 
  59 
  60 import java.io.PrintStream;
  61 
  62 public class stack001 {
  63     public static void main(String[] args) {
  64         int exitCode = run(args, System.out);
  65         System.exit(exitCode + 95);
  66     }
  67 
  68     public static int run(String args[], PrintStream out) {
  69         stack001 test = new stack001();
  70         test.recurse(0);
  71         out.println("Maximal depth: " + test.maxdepth);
  72         return 0;
  73     }


  34  * COMMENTS
  35  *     Kestrel for Solaris_JDK_1.3-b10 crashes while trying to execute
  36  *     this test with Client HS VM.
  37  *     See lots of bugs concerning similar failuires:
  38  *     Evaluated:
  39  *     4217960 [native stack overflow bug] reflection test causes crash
  40  *     Accepted:
  41  *     4285716 native stack overflow causes crash on Solaris
  42  *     4281578 Second stack overflow crashes HotSpot VM
  43  *     Closed (duplicate):
  44  *     4027933     Native stack overflows not detected or handled correctly
  45  *     4134353     (hpi) sysThreadCheckStack is a no-op on win32
  46  *     4185411     Various crashes when using recursive reflection.
  47  *     4167055     infinite recursion in FindClass
  48  *     4222359     Infinite recursion crashes jvm
  49  *     Closed (will not fix):
  50  *     4231968 StackOverflowError in a native method causes Segmentation Fault
  51  *     4254634     println() while catching StackOverflowError causes hotspot VM crash
  52  *     4302288 the second stack overflow causes Classic VM to exit on win32
  53  *
  54  * @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
  55  * @run main/othervm nsk.stress.stack.stack001
  56  */
  57 
  58 package nsk.stress.stack;
  59 
  60 
  61 import java.io.PrintStream;
  62 
  63 public class stack001 {
  64     public static void main(String[] args) {
  65         int exitCode = run(args, System.out);
  66         System.exit(exitCode + 95);
  67     }
  68 
  69     public static int run(String args[], PrintStream out) {
  70         stack001 test = new stack001();
  71         test.recurse(0);
  72         out.println("Maximal depth: " + test.maxdepth);
  73         return 0;
  74     }
< prev index next >