equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2016, 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 jdk.test.lib.Asserts.*; |
28 import static jdk.test.lib.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 * @requires vm.gc.Serial |
34 * @summary Tests that a MemoryPoolMXBeans and PerfCounters for metaspace |
34 * @summary Tests that a MemoryPoolMXBeans and PerfCounters for metaspace |
35 * report the same data. |
35 * report the same data. |
36 * @modules java.base/jdk.internal.misc |
36 * @modules java.base/jdk.internal.misc |
37 * java.management |
37 * java.management |
38 * jdk.jvmstat/sun.jvmstat.monitor |
38 * jdk.jvmstat/sun.jvmstat.monitor |