1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 /** |
25 /** |
26 * @test |
26 * @test |
27 * @bug 8026775 |
27 * @bug 8026775 |
28 * @summary Uncommon trap blob did not bang all the stack shadow pages |
28 * @summary Uncommon trap blob did not bang all the stack shadow pages |
29 * |
29 * |
30 * @run main/othervm -server -XX:+IgnoreUnrecognizedVMOptions -XX:+TieredCompilation UncommonTrapStackBang |
30 * @run main/othervm UncommonTrapStackBang |
31 * @run main/othervm -server -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation UncommonTrapStackBang |
|
32 * |
|
33 * |
31 * |
34 * Note: This test does not reproduce the problem with absolute |
32 * Note: This test does not reproduce the problem with absolute |
35 * certainty. Empirically the bug reproduces on Windows some 80+% of |
33 * certainty. Empirically the bug reproduces on Windows some 80+% of |
36 * the time. Setting everything up to fail in 100% of the cases turns |
34 * the time. Setting everything up to fail in 100% of the cases turns |
37 * out to be tricky at best. |
35 * out to be tricky at best. |