comparison test/gc/metaspace/TestPerfCountersAndMemoryPools.java @ 22981:f967da7f0c3c

8062537: [TESTBUG] Conflicting GC combinations in hotspot tests Reviewed-by: tschatzl, jwilhelm
author jwilhelm
date Thu, 23 Apr 2015 15:59:48 +0200
parents 6e22e7042433
children
comparison
equal deleted inserted replaced
22980:974d7f3df726 22981:f967da7f0c3c
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.
28 import static com.oracle.java.testlibrary.Asserts.*; 28 import static com.oracle.java.testlibrary.Asserts.*;
29 29
30 /* @test TestPerfCountersAndMemoryPools 30 /* @test TestPerfCountersAndMemoryPools
31 * @bug 8023476 31 * @bug 8023476
32 * @library /testlibrary 32 * @library /testlibrary
33 * @requires vm.gc=="Serial" | vm.gc=="null"
33 * @summary Tests that a MemoryPoolMXBeans and PerfCounters for metaspace 34 * @summary Tests that a MemoryPoolMXBeans and PerfCounters for metaspace
34 * report the same data. 35 * report the same data.
35 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedKlassPointers -XX:+UseSerialGC -XX:+UsePerfData -Xint TestPerfCountersAndMemoryPools 36 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedKlassPointers -XX:+UseSerialGC -XX:+UsePerfData -Xint TestPerfCountersAndMemoryPools
36 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops -XX:+UseCompressedKlassPointers -XX:+UseSerialGC -XX:+UsePerfData -Xint TestPerfCountersAndMemoryPools 37 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops -XX:+UseCompressedKlassPointers -XX:+UseSerialGC -XX:+UsePerfData -Xint TestPerfCountersAndMemoryPools
37 */ 38 */