test/gc/metaspace/TestMetaspacePerfCounters.java

changeset 7785
f967da7f0c3c
parent 5716
73d0d0218068
child 7994
04ff2f6cd0eb
equal deleted inserted replaced
7784:974d7f3df726 7785: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.
27 import com.oracle.java.testlibrary.*; 27 import com.oracle.java.testlibrary.*;
28 import static com.oracle.java.testlibrary.Asserts.*; 28 import static com.oracle.java.testlibrary.Asserts.*;
29 29
30 /* @test TestMetaspacePerfCounters 30 /* @test TestMetaspacePerfCounters
31 * @bug 8014659 31 * @bug 8014659
32 * @requires vm.gc=="null"
32 * @library /testlibrary 33 * @library /testlibrary
33 * @summary Tests that performance counters for metaspace and compressed class 34 * @summary Tests that performance counters for metaspace and compressed class
34 * space exists and works. 35 * space exists and works.
35 * 36 *
36 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedClassPointers -XX:+UsePerfData -XX:+UseSerialGC TestMetaspacePerfCounters 37 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedClassPointers -XX:+UsePerfData -XX:+UseSerialGC TestMetaspacePerfCounters

mercurial