Examples of disableCollection()


Examples of gnu.classpath.jdwp.id.ObjectId.disableCollection()

    Object newArray = Array.newInstance(componentType, length);
    ObjectId oid = idMan.getObjectId(newArray);

    // Since this array isn't referenced anywhere we'll disable garbage
    // collection on it so it's still around when the debugger gets back to it.
    oid.disableCollection();
    oid.writeTagged(os);
  }
}
View Full Code Here

Examples of gnu.classpath.jdwp.id.ObjectId.disableCollection()

  private void executeDisableCollection(ByteBuffer bb, DataOutputStream os)
    throws JdwpException, IOException
  {
    ObjectId oid = idMan.readObjectId(bb);
    oid.disableCollection();
  }

  private void executeEnableCollection(ByteBuffer bb, DataOutputStream os)
    throws JdwpException, IOException
  {
View Full Code Here

Examples of gnu.classpath.jdwp.id.ObjectId.disableCollection()

    String string = JdwpString.readString(bb);
    ObjectId stringId = idMan.getObjectId(string);
   
    // Since this string isn't referenced anywhere we'll disable garbage
    // collection on it so it's still around when the debugger gets back to it.
    stringId.disableCollection();
    stringId.write(os);
  }

  private void executeCapabilities(ByteBuffer bb, DataOutputStream os)
    throws JdwpException, IOException
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.