equal
deleted
inserted
replaced
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. |
23 |
23 |
24 /** |
24 /** |
25 * @test |
25 * @test |
26 * @bug 7038914 8016341 |
26 * @bug 7038914 8016341 |
27 * @summary Verify that the reference handler does not die after an OOME allocating the InterruptedException object |
27 * @summary Verify that the reference handler does not die after an OOME allocating the InterruptedException object |
28 * @run main/othervm -Xmx24M -XX:-UseTLAB OOMEInReferenceHandler |
28 * @run main/othervm -XX:-UseGCOverheadLimit -Xmx24M -XX:-UseTLAB OOMEInReferenceHandler |
29 * @author peter.levart@gmail.com |
29 * @author peter.levart@gmail.com |
30 */ |
30 */ |
31 |
31 |
32 import java.lang.ref.*; |
32 import java.lang.ref.*; |
33 |
33 |