Examples of exploreObjectReferences()


Examples of org.jboss.profiler.jvmti.JVMTIInterface.exploreObjectReferences()

   
    JVMTIInterface jvmti = new JVMTIInterface();
    HashMap map = jvmti.createIndexMatrix();
    jvmti.exploreClassReferences(B.class.getName(),-1,true,true,true,true,false,map);
   
    System.out.println(jvmti.exploreObjectReferences(map,b,1,true));
    /*map=null;
    jvmti.releaseTags();
    System.out.println(jvmti.exploreObjectReferences(B.class.getName(),2,true)); */
   
   
 
View Full Code Here

Examples of org.jboss.profiler.jvmti.JVMTIInterface.exploreObjectReferences()

            clazz=null;
            Object[] objects = jvmti.getAllObjects(className);
            System.out.println("============> Instances of " + className + " " + objects.length);

            //String report =jvmti.exploreClassReferences(className, 15, true, false, false, false, true);
            String report = jvmti.exploreObjectReferences(className, 15, false);



            System.out.println("================= " + className + " ================");
            System.out.println(report);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.