equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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 4530538 |
26 * @bug 4530538 |
27 * @summary Basic Test for HotspotThreadMBean.getInternalThreadCount() |
27 * @summary Basic Test for HotspotThreadMBean.getInternalThreadCount() |
28 * and getInternalThreadCpuTime() |
28 * and getInternalThreadCpuTime() |
29 * @author Mandy Chung |
29 * @author Mandy Chung |
|
30 * @modules java.management/sun.management |
30 * @run main/othervm -XX:+UsePerfData GetInternalThreads |
31 * @run main/othervm -XX:+UsePerfData GetInternalThreads |
31 */ |
32 */ |
32 |
33 |
33 import sun.management.*; |
34 import sun.management.*; |
34 import java.util.*; |
35 import java.util.*; |