26 * @key stress
27 *
28 * @summary converted from VM testbase nsk/stress/stack/stack017.
29 * VM testbase keywords: [stress, diehard, stack, nonconcurrent, exclude]
30 * VM testbase comments: 8139875
31 * VM testbase readme:
32 * DESCRIPTION
33 * The test invokes infinitely recursive method from within stack
34 * overflow handler -- repeatedly multiple times, and in multiple
35 * threads.
36 * The test is deemed passed, if VM have not crashed, and
37 * if exception other than due to stack overflow was not
38 * thrown.
39 * COMMENTS
40 * This test crashes HS versions 2.0, 1.3, and 1.4 on both
41 * Solaris and Win32 platforms.
42 * See the bug:
43 * 4366625 (P4/S4) multiple stack overflow causes HS crash
44 *
45 * @ignore 8139875
46 * @run main/othervm nsk.stress.stack.stack017 -eager
47 */
48
49 package nsk.stress.stack;
50
51
52 import nsk.share.Harakiri;
53
54 import java.io.PrintStream;
55
56 public class stack017 extends Thread {
57 private final static int THREADS = 10;
58 private final static int CYCLES = 10;
59 private final static int PROBES = 100;
60
61 public static void main(String[] args) {
62 int exitCode = run(args, System.out);
63 System.exit(exitCode + 95);
64 }
65
|
26 * @key stress
27 *
28 * @summary converted from VM testbase nsk/stress/stack/stack017.
29 * VM testbase keywords: [stress, diehard, stack, nonconcurrent, exclude]
30 * VM testbase comments: 8139875
31 * VM testbase readme:
32 * DESCRIPTION
33 * The test invokes infinitely recursive method from within stack
34 * overflow handler -- repeatedly multiple times, and in multiple
35 * threads.
36 * The test is deemed passed, if VM have not crashed, and
37 * if exception other than due to stack overflow was not
38 * thrown.
39 * COMMENTS
40 * This test crashes HS versions 2.0, 1.3, and 1.4 on both
41 * Solaris and Win32 platforms.
42 * See the bug:
43 * 4366625 (P4/S4) multiple stack overflow causes HS crash
44 *
45 * @ignore 8139875
46 * @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
47 * @run main/othervm nsk.stress.stack.stack017 -eager
48 */
49
50 package nsk.stress.stack;
51
52
53 import nsk.share.Harakiri;
54
55 import java.io.PrintStream;
56
57 public class stack017 extends Thread {
58 private final static int THREADS = 10;
59 private final static int CYCLES = 10;
60 private final static int PROBES = 100;
61
62 public static void main(String[] args) {
63 int exitCode = run(args, System.out);
64 System.exit(exitCode + 95);
65 }
66
|