hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   421     public LinuxAddress readAddress(long address)
   421     public LinuxAddress readAddress(long address)
   422             throws UnmappedAddressException, UnalignedAddressException {
   422             throws UnmappedAddressException, UnalignedAddressException {
   423         long value = readAddressValue(address);
   423         long value = readAddressValue(address);
   424         return (value == 0 ? null : new LinuxAddress(this, value));
   424         return (value == 0 ? null : new LinuxAddress(this, value));
   425     }
   425     }
       
   426     public LinuxAddress readCompOopAddress(long address)
       
   427             throws UnmappedAddressException, UnalignedAddressException {
       
   428         long value = readCompOopAddressValue(address);
       
   429         return (value == 0 ? null : new LinuxAddress(this, value));
       
   430     }
   426 
   431 
   427     /** From the LinuxDebugger interface */
   432     /** From the LinuxDebugger interface */
   428     public LinuxOopHandle readOopHandle(long address)
   433     public LinuxOopHandle readOopHandle(long address)
   429             throws UnmappedAddressException, UnalignedAddressException,
   434             throws UnmappedAddressException, UnalignedAddressException,
   430                 NotInHeapException {
   435                 NotInHeapException {
   431         long value = readAddressValue(address);
   436         long value = readAddressValue(address);
       
   437         return (value == 0 ? null : new LinuxOopHandle(this, value));
       
   438     }
       
   439     public LinuxOopHandle readCompOopHandle(long address)
       
   440             throws UnmappedAddressException, UnalignedAddressException,
       
   441                 NotInHeapException {
       
   442         long value = readCompOopAddressValue(address);
   432         return (value == 0 ? null : new LinuxOopHandle(this, value));
   443         return (value == 0 ? null : new LinuxOopHandle(this, value));
   433     }
   444     }
   434 
   445 
   435     //----------------------------------------------------------------------
   446     //----------------------------------------------------------------------
   436     // Thread context access
   447     // Thread context access