8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test TestOldObjectsOnNvdimm
26 * @summary Check that objects in old generation reside in dram.
27 * @requires vm.gc=="null" & os.family != "aix"
28 * @library /test/lib
29 * @build sun.hotspot.WhiteBox
30 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
31 * @run main TestOldObjectsOnNvdimm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
32 * -XX:+WhiteBoxAPI
33 */
34
35 import jdk.test.lib.process.OutputAnalyzer;
36 import jdk.test.lib.process.ProcessTools;
37 import jdk.test.lib.Asserts;
38 import sun.hotspot.WhiteBox;
39
40 import java.util.ArrayList;
41 import java.util.List;
42 import java.util.Collections;
43
44 /*
45 * Test spawns OldObjectTest in a separate VM and expects that it
46 * completes without a RuntimeException.
47 */
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test TestOldObjectsOnNvdimm
26 * @summary Check that objects in old generation reside in dram.
27 * @requires vm.gc=="null" & os.family != "aix"
28 * @requires test.vm.gc.nvdimm
29 * @library /test/lib
30 * @build sun.hotspot.WhiteBox
31 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
32 * @run main TestOldObjectsOnNvdimm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
33 * -XX:+WhiteBoxAPI
34 */
35
36 import jdk.test.lib.process.OutputAnalyzer;
37 import jdk.test.lib.process.ProcessTools;
38 import jdk.test.lib.Asserts;
39 import sun.hotspot.WhiteBox;
40
41 import java.util.ArrayList;
42 import java.util.List;
43 import java.util.Collections;
44
45 /*
46 * Test spawns OldObjectTest in a separate VM and expects that it
47 * completes without a RuntimeException.
48 */
|