src/share/classes/sun/management/VMManagement.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -44,10 +44,11 @@
public boolean isObjectMonitorUsageSupported();
public boolean isSynchronizerUsageSupported();
public boolean isThreadAllocatedMemorySupported();
public boolean isThreadAllocatedMemoryEnabled();
public boolean isGcNotificationSupported();
+ public boolean isRemoteDiagnosticCommandsSupported();
// Class Loading Subsystem
public long getTotalClassCount();
public int getLoadedClassCount();
public long getUnloadedClassCount();
@@ -101,6 +102,11 @@
public long getClassInitializationTime();
public long getClassVerificationTime();
// Performance counter support
public List<Counter> getInternalCounters(String pattern);
+
+ // Diagnostic Commands support
+ public String[] getDiagnosticCommands();
+ public DiagnosticCommandInfo[] getDiagnosticCommandInfo(String[] commands);
+ public String executeDiagnosticCommand(String command);
}