Package javax.tools.diagnostics.runtime.java

Examples of javax.tools.diagnostics.runtime.java.JavaRuntime


  public void doCommand(Stack args, Image loadedImage, HashMap properties){
    Vector vMonitorsWithLockedObjects = new Vector();
    Iterator runtimes = Utils.getRuntimes(loadedImage);
   
    while(runtimes.hasNext()){
      JavaRuntime jRuntime = (JavaRuntime)runtimes.next();
      Iterator monitors = jRuntime.getMonitors().iterator();
     
      out.println("\nSystem locks...");
      while (monitors.hasNext()){
        JavaMonitor jMonitor = (JavaMonitor)monitors.next();
        JavaObject jObject = jMonitor.getObject();
View Full Code Here

TOP

Related Classes of javax.tools.diagnostics.runtime.java.JavaRuntime

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.