equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2015, 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. |
24 /** |
24 /** |
25 * @test TestSoftReferencesBehaviorOnOOME |
25 * @test TestSoftReferencesBehaviorOnOOME |
26 * @key gc |
26 * @key gc |
27 * @summary Tests that all SoftReferences has been cleared at time of OOM. |
27 * @summary Tests that all SoftReferences has been cleared at time of OOM. |
28 * @library /testlibrary |
28 * @library /testlibrary |
|
29 * @ignore 8073669 |
29 * @build TestSoftReferencesBehaviorOnOOME |
30 * @build TestSoftReferencesBehaviorOnOOME |
30 * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 512 2k |
31 * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 512 2k |
31 * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 128k 256k |
32 * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 128k 256k |
32 * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 2k 32k 10 |
33 * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 2k 32k 10 |
33 */ |
34 */ |