22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/vmSymbols.hpp"
27 #include "oops/oop.inline.hpp"
28 #include "runtime/handles.inline.hpp"
29 #include "runtime/java.hpp"
30 #include "runtime/mutex.hpp"
31 #include "runtime/mutexLocker.hpp"
32 #include "runtime/os.hpp"
33 #include "runtime/perfData.hpp"
34 #include "utilities/exceptions.hpp"
35 #include "utilities/globalDefinitions.hpp"
36
37 PerfDataList* PerfDataManager::_all = NULL;
38 PerfDataList* PerfDataManager::_sampled = NULL;
39 PerfDataList* PerfDataManager::_constants = NULL;
40
41 /*
42 * The jvmstat global and subsysem jvmstat counter name spaces. The top
43 * level name spaces imply the interface stability level of the counter,
44 * which generally follows the Java package, class, and property naming
45 * conventions. The CounterNS enumeration values should be used to index
46 * into this array.
47 */
48 const char* PerfDataManager::_name_spaces[] = {
49 // top level name spaces
50 "java", // stable and supported name space
51 "com.sun", // unstable but supported name space
52 "sun", // unstable and unsupported name space
53 // subsystem name spaces
54 "java.gc", // Garbage Collection name spaces
55 "com.sun.gc",
56 "sun.gc",
57 "java.ci", // Compiler name spaces
58 "com.sun.ci",
59 "sun.ci",
60 "java.cls", // Class Loader name spaces
61 "com.sun.cls",
62 "sun.cls",
|
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/vmSymbols.hpp"
27 #include "oops/oop.inline.hpp"
28 #include "runtime/handles.inline.hpp"
29 #include "runtime/java.hpp"
30 #include "runtime/mutex.hpp"
31 #include "runtime/mutexLocker.hpp"
32 #include "runtime/os.hpp"
33 #include "runtime/perfData.hpp"
34 #include "utilities/exceptions.hpp"
35 #include "utilities/globalDefinitions.hpp"
36
37 PerfDataList* PerfDataManager::_all = NULL;
38 PerfDataList* PerfDataManager::_sampled = NULL;
39 PerfDataList* PerfDataManager::_constants = NULL;
40
41 /*
42 * The jvmstat global and subsystem jvmstat counter name spaces. The top
43 * level name spaces imply the interface stability level of the counter,
44 * which generally follows the Java package, class, and property naming
45 * conventions. The CounterNS enumeration values should be used to index
46 * into this array.
47 */
48 const char* PerfDataManager::_name_spaces[] = {
49 // top level name spaces
50 "java", // stable and supported name space
51 "com.sun", // unstable but supported name space
52 "sun", // unstable and unsupported name space
53 // subsystem name spaces
54 "java.gc", // Garbage Collection name spaces
55 "com.sun.gc",
56 "sun.gc",
57 "java.ci", // Compiler name spaces
58 "com.sun.ci",
59 "sun.ci",
60 "java.cls", // Class Loader name spaces
61 "com.sun.cls",
62 "sun.cls",
|