src/share/vm/runtime/statSampler.cpp

Print this page




 208  * The list of System Properties that have corresponding PerfData
 209  * string instrumentation created by retrieving the named property's
 210  * value from System.getProperty() and unconditionally creating a
 211  * PerfStringConstant object initialized to the retrieved value. This
 212  * is not an exhaustive list of Java properties with corresponding string
 213  * instrumentation as the create_system_property_instrumentation() method
 214  * creates other property based instrumentation conditionally.
 215  */
 216 
 217 // stable interface, supported counters
 218 static const char* property_counters_ss[] = {
 219   "java.vm.specification.version",
 220   "java.vm.specification.name",
 221   "java.vm.specification.vendor",
 222   "java.vm.version",
 223   "java.vm.name",
 224   "java.vm.vendor",
 225   "java.vm.info",
 226   "java.library.path",
 227   "java.class.path",
 228   "java.endorsed.dirs",
 229   "java.ext.dirs",
 230   "java.version",
 231   "java.home",
 232   NULL
 233 };
 234 
 235 // unstable interface, supported counters
 236 static const char* property_counters_us[] = {
 237   NULL
 238 };
 239 
 240 // unstable interface, unsupported counters
 241 static const char* property_counters_uu[] = {
 242   "sun.boot.class.path",
 243   "sun.boot.library.path",
 244   NULL
 245 };
 246 
 247 typedef struct {
 248   const char** property_list;
 249   CounterNS name_space;




 208  * The list of System Properties that have corresponding PerfData
 209  * string instrumentation created by retrieving the named property's
 210  * value from System.getProperty() and unconditionally creating a
 211  * PerfStringConstant object initialized to the retrieved value. This
 212  * is not an exhaustive list of Java properties with corresponding string
 213  * instrumentation as the create_system_property_instrumentation() method
 214  * creates other property based instrumentation conditionally.
 215  */
 216 
 217 // stable interface, supported counters
 218 static const char* property_counters_ss[] = {
 219   "java.vm.specification.version",
 220   "java.vm.specification.name",
 221   "java.vm.specification.vendor",
 222   "java.vm.version",
 223   "java.vm.name",
 224   "java.vm.vendor",
 225   "java.vm.info",
 226   "java.library.path",
 227   "java.class.path",


 228   "java.version",
 229   "java.home",
 230   NULL
 231 };
 232 
 233 // unstable interface, supported counters
 234 static const char* property_counters_us[] = {
 235   NULL
 236 };
 237 
 238 // unstable interface, unsupported counters
 239 static const char* property_counters_uu[] = {
 240   "sun.boot.class.path",
 241   "sun.boot.library.path",
 242   NULL
 243 };
 244 
 245 typedef struct {
 246   const char** property_list;
 247   CounterNS name_space;