hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    83       jfloatSize   = remoteDebugger.getJFloatSize();
    83       jfloatSize   = remoteDebugger.getJFloatSize();
    84       jintSize     = remoteDebugger.getJIntSize();
    84       jintSize     = remoteDebugger.getJIntSize();
    85       jlongSize    = remoteDebugger.getJLongSize();
    85       jlongSize    = remoteDebugger.getJLongSize();
    86       jshortSize   = remoteDebugger.getJShortSize();
    86       jshortSize   = remoteDebugger.getJShortSize();
    87       javaPrimitiveTypesConfigured = true;
    87       javaPrimitiveTypesConfigured = true;
       
    88       heapBase     = remoteDebugger.getHeapBase();
       
    89       heapOopSize  = remoteDebugger.getHeapOopSize();
       
    90       logMinObjAlignmentInBytes  = remoteDebugger.getLogMinObjAlignmentInBytes();
    88     }
    91     }
    89     catch (RemoteException e) {
    92     catch (RemoteException e) {
    90       throw new DebuggerException(e);
    93       throw new DebuggerException(e);
    91     }
    94     }
    92   }
    95   }
   296     throws UnmappedAddressException, UnalignedAddressException {
   299     throws UnmappedAddressException, UnalignedAddressException {
   297     long value = readAddressValue(address);
   300     long value = readAddressValue(address);
   298     return (value == 0 ? null : new RemoteAddress(this, value));
   301     return (value == 0 ? null : new RemoteAddress(this, value));
   299   }
   302   }
   300 
   303 
       
   304   RemoteAddress readCompOopAddress(long address)
       
   305     throws UnmappedAddressException, UnalignedAddressException {
       
   306     long value = readCompOopAddressValue(address);
       
   307     return (value == 0 ? null : new RemoteAddress(this, value));
       
   308   }
       
   309 
   301   RemoteOopHandle readOopHandle(long address)
   310   RemoteOopHandle readOopHandle(long address)
   302     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
   311     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
   303     long value = readAddressValue(address);
   312     long value = readAddressValue(address);
   304     return (value == 0 ? null : new RemoteOopHandle(this, value));
   313     return (value == 0 ? null : new RemoteOopHandle(this, value));
   305   }
   314   }
   306 
   315 
       
   316   RemoteOopHandle readCompOopHandle(long address)
       
   317     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
       
   318     long value = readCompOopAddressValue(address);
       
   319     return (value == 0 ? null : new RemoteOopHandle(this, value));
       
   320   }
       
   321 
   307   boolean areThreadsEqual(Address addr1, Address addr2) {
   322   boolean areThreadsEqual(Address addr1, Address addr2) {
   308     try {
   323     try {
   309        return remoteDebugger.areThreadsEqual(getAddressValue(addr1), true,
   324        return remoteDebugger.areThreadsEqual(getAddressValue(addr1), true,
   310                                              getAddressValue(addr2), true);
   325                                              getAddressValue(addr2), true);
   311     } catch (RemoteException e) {
   326     } catch (RemoteException e) {