Examples of notifyOnReferences()


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

    A a = new A();
    B b = a.b;
    final ArrayList list = new ArrayList();
   
    JVMTIInterface jvmti = new JVMTIInterface();
    jvmti.notifyOnReferences("/tmp/tst.refs",new JVMTICallBack(){

      int count=0;
      public void notifyReference(long referenceHolder, long referencedObject,long classTag, long index, long method, byte referenceType)
      {
        list.add(new ReferenceDataPoint(referenceHolder, referencedObject,classTag, index, method, referenceType));
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.