35 * COMMENTS
36 * I believe that the test causes HS crashes due to the following bug:
37 * 4330318 (P2/S2) NSK test fails as An irrecoverable stack overflow
38 * See also bugs (lots of bugs!):
39 * Evaluated:
40 * 4217960 [native stack overflow bug] reflection test causes crash
41 * Accepted:
42 * 4285716 native stack overflow causes crash on Solaris
43 * 4281578 Second stack overflow crashes HotSpot VM
44 * Closed (duplicate):
45 * 4027933 Native stack overflows not detected or handled correctly
46 * 4134353 (hpi) sysThreadCheckStack is a no-op on win32
47 * 4185411 Various crashes when using recursive reflection.
48 * 4167055 infinite recursion in FindClass
49 * 4222359 Infinite recursion crashes jvm
50 * Closed (will not fix):
51 * 4231968 StackOverflowError in a native method causes Segmentation Fault
52 * 4254634 println() while catching StackOverflowError causes hotspot VM crash
53 * 4302288 the second stack overflow causes Classic VM to exit on win32
54 *
55 * @run main/othervm nsk.stress.stack.stack002
56 */
57
58 package nsk.stress.stack;
59
60
61 import java.io.PrintStream;
62
63 public class stack002 {
64 static final long timeout = 10000; // 10 seconds
65
66 public static void main(String[] args) {
67 int exitCode = run(args, System.out);
68 System.exit(exitCode + 95);
69 }
70
71 public static int run(String args[], PrintStream out) {
72 Tester tester = new Tester(out);
73 Timer timer = new Timer(tester);
74 timer.start();
|
35 * COMMENTS
36 * I believe that the test causes HS crashes due to the following bug:
37 * 4330318 (P2/S2) NSK test fails as An irrecoverable stack overflow
38 * See also bugs (lots of bugs!):
39 * Evaluated:
40 * 4217960 [native stack overflow bug] reflection test causes crash
41 * Accepted:
42 * 4285716 native stack overflow causes crash on Solaris
43 * 4281578 Second stack overflow crashes HotSpot VM
44 * Closed (duplicate):
45 * 4027933 Native stack overflows not detected or handled correctly
46 * 4134353 (hpi) sysThreadCheckStack is a no-op on win32
47 * 4185411 Various crashes when using recursive reflection.
48 * 4167055 infinite recursion in FindClass
49 * 4222359 Infinite recursion crashes jvm
50 * Closed (will not fix):
51 * 4231968 StackOverflowError in a native method causes Segmentation Fault
52 * 4254634 println() while catching StackOverflowError causes hotspot VM crash
53 * 4302288 the second stack overflow causes Classic VM to exit on win32
54 *
55 * @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
56 * @run main/othervm nsk.stress.stack.stack002
57 */
58
59 package nsk.stress.stack;
60
61
62 import java.io.PrintStream;
63
64 public class stack002 {
65 static final long timeout = 10000; // 10 seconds
66
67 public static void main(String[] args) {
68 int exitCode = run(args, System.out);
69 System.exit(exitCode + 95);
70 }
71
72 public static int run(String args[], PrintStream out) {
73 Tester tester = new Tester(out);
74 Timer timer = new Timer(tester);
75 timer.start();
|