equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 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. |
25 * @test |
25 * @test |
26 * @bug 4981215 |
26 * @bug 4981215 |
27 * @summary Tests that the jvmstat counters published by the out-of-the-box |
27 * @summary Tests that the jvmstat counters published by the out-of-the-box |
28 * management agent for the JMX connection details are correct. |
28 * management agent for the JMX connection details are correct. |
29 * @author Luis-Miguel Alventosa |
29 * @author Luis-Miguel Alventosa |
|
30 * @modules java.management/sun.management |
30 * @run clean JvmstatCountersTest |
31 * @run clean JvmstatCountersTest |
31 * @run build JvmstatCountersTest |
32 * @run build JvmstatCountersTest |
32 * @run main/othervm/timeout=600 -XX:+UsePerfData JvmstatCountersTest 1 |
33 * @run main/othervm/timeout=600 -XX:+UsePerfData JvmstatCountersTest 1 |
33 * @run main/othervm/timeout=600 -XX:+UsePerfData -Dcom.sun.management.jmxremote JvmstatCountersTest 2 |
34 * @run main/othervm/timeout=600 -XX:+UsePerfData -Dcom.sun.management.jmxremote JvmstatCountersTest 2 |
34 * @run main/othervm/timeout=600 -XX:+UsePerfData -Dcom.sun.management.jmxremote.port=0 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false JvmstatCountersTest 3 |
35 * @run main/othervm/timeout=600 -XX:+UsePerfData -Dcom.sun.management.jmxremote.port=0 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false JvmstatCountersTest 3 |