Hotspot VM currently exposes a list of jvmstat counters in shared
memory for performance monitoring. There is no naming convention
defined for the counter names.
We do not plan to expose the counter names to the external customers.
But they may be exposed to the Sun internal customers. Since we
have a well-defined naming convention for Java package and property names.
we should follow the same convention to name the jvmstat counters which
allows to programmatically classify the exported counters in one of the following categories:
1.Standard external interface:
Counters that are exposed through java.lang.management MBeans.
2.Sun's committed external interface:
Counters will be exposed through com.sun.management MBeans supported by Sun.
3.Sun's uncommitted internal interface:
Counters will be exposed through private internal MBean interfaces. These MBeans will have to be launched through a special mechanism (so that customers don't accidently see them and start depending on them).
Naming Convention
The naming conventions for the Java platform will be used to name jvmstat counters.
1.The names should be hierarchical with the parts separated by periods.
The names of standard counters will begin with java followed by the name of the component or subsystem to which a counter belongs (see below).
2. The names of Sun's committed external counters will begin with com.sun followed by the name of the component or subsystem to which a counter belongs.
3. The names of Sun's uncommitted internal counters will begin with sun followed by the name of the component or subsystem to which a counter belongs.
4.Multi-word variable names follow the same naming convention as method and field names.
memory for performance monitoring. There is no naming convention
defined for the counter names.
We do not plan to expose the counter names to the external customers.
But they may be exposed to the Sun internal customers. Since we
have a well-defined naming convention for Java package and property names.
we should follow the same convention to name the jvmstat counters which
allows to programmatically classify the exported counters in one of the following categories:
1.Standard external interface:
Counters that are exposed through java.lang.management MBeans.
2.Sun's committed external interface:
Counters will be exposed through com.sun.management MBeans supported by Sun.
3.Sun's uncommitted internal interface:
Counters will be exposed through private internal MBean interfaces. These MBeans will have to be launched through a special mechanism (so that customers don't accidently see them and start depending on them).
Naming Convention
The naming conventions for the Java platform will be used to name jvmstat counters.
1.The names should be hierarchical with the parts separated by periods.
The names of standard counters will begin with java followed by the name of the component or subsystem to which a counter belongs (see below).
2. The names of Sun's committed external counters will begin with com.sun followed by the name of the component or subsystem to which a counter belongs.
3. The names of Sun's uncommitted internal counters will begin with sun followed by the name of the component or subsystem to which a counter belongs.
4.Multi-word variable names follow the same naming convention as method and field names.
- relates to
-
JDK-4923662 Hotspot serverVM asserts at handles.cpp:16
-
- Closed
-