public static synchronized DiagnosticCommandMBean getDiagnosticCommandMBean() {
   // Remote Diagnostic Commands may not be supported
   if (hsDiagCommandMBean == null && jvm.isRemoteDiagnosticCommandsSupported()) {
     hsDiagCommandMBean = new DiagnosticCommandImpl(jvm);
   }
   return hsDiagCommandMBean;
 }
 public static synchronized CompilationMXBean getCompilationMXBean() {
   if (compileMBean == null && jvm.getCompilerName() != null) {
     compileMBean = new CompilationImpl(jvm);
   }
   return compileMBean;
 }
Beispiel #3
0
 public java.util.List<Counter> getInternalRuntimeCounters() {
   return jvm.getInternalCounters(RT_COUNTER_NAME_PATTERN);
 }
Beispiel #4
0
 public long getSafepointSyncTime() {
   return jvm.getSafepointSyncTime();
 }
Beispiel #5
0
 public long getTotalSafepointTime() {
   return jvm.getTotalSafepointTime();
 }
Beispiel #6
0
 public long getSafepointCount() {
   return jvm.getSafepointCount();
 }