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. |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4858522 |
26 * @bug 4858522 |
27 * @summary Basic unit test of HotspotClassLoadingMBean.getLoadedClassSize() |
27 * @summary Basic unit test of HotspotClassLoadingMBean.getLoadedClassSize() |
28 * @author Steve Bohne |
28 * @author Steve Bohne |
|
29 * @modules java.management/sun.management |
29 * @run main/othervm -XX:+UsePerfData GetLoadedClassSize |
30 * @run main/othervm -XX:+UsePerfData GetLoadedClassSize |
30 */ |
31 */ |
31 |
32 |
32 /* |
33 /* |
33 * This test is just a sanity check and does not check for the correct value. |
34 * This test is just a sanity check and does not check for the correct value. |