agent/src/share/classes/sun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal.java

Print this page
rev 3688 : 7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers.
Reviewed-by:


 412     // These must not be called until the MachineDescription has been set up.
 413     //
 414 
 415     /** From the LinuxDebugger interface */
 416     public String addressValueToString(long address) {
 417         return utils.addressValueToString(address);
 418     }
 419 
 420     /** From the LinuxDebugger interface */
 421     public LinuxAddress readAddress(long address)
 422             throws UnmappedAddressException, UnalignedAddressException {
 423         long value = readAddressValue(address);
 424         return (value == 0 ? null : new LinuxAddress(this, value));
 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     }
 431 






 432     /** From the LinuxDebugger interface */
 433     public LinuxOopHandle readOopHandle(long address)
 434             throws UnmappedAddressException, UnalignedAddressException,
 435                 NotInHeapException {
 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);
 443         return (value == 0 ? null : new LinuxOopHandle(this, value));
 444     }
 445 
 446     //----------------------------------------------------------------------
 447     // Thread context access
 448     //
 449 
 450     public synchronized long[] getThreadIntegerRegisterSet(int lwp_id)
 451                                             throws DebuggerException {




 412     // These must not be called until the MachineDescription has been set up.
 413     //
 414 
 415     /** From the LinuxDebugger interface */
 416     public String addressValueToString(long address) {
 417         return utils.addressValueToString(address);
 418     }
 419 
 420     /** From the LinuxDebugger interface */
 421     public LinuxAddress readAddress(long address)
 422             throws UnmappedAddressException, UnalignedAddressException {
 423         long value = readAddressValue(address);
 424         return (value == 0 ? null : new LinuxAddress(this, value));
 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     }
 431 
 432     public LinuxAddress readCompKlassAddress(long address)
 433             throws UnmappedAddressException, UnalignedAddressException {
 434         long value = readCompKlassAddressValue(address);
 435         return (value == 0 ? null : new LinuxAddress(this, value));
 436     }
 437 
 438     /** From the LinuxDebugger interface */
 439     public LinuxOopHandle readOopHandle(long address)
 440             throws UnmappedAddressException, UnalignedAddressException,
 441                 NotInHeapException {
 442         long value = readAddressValue(address);
 443         return (value == 0 ? null : new LinuxOopHandle(this, value));
 444     }
 445     public LinuxOopHandle readCompOopHandle(long address)
 446             throws UnmappedAddressException, UnalignedAddressException,
 447                 NotInHeapException {
 448         long value = readCompOopAddressValue(address);
 449         return (value == 0 ? null : new LinuxOopHandle(this, value));
 450     }
 451 
 452     //----------------------------------------------------------------------
 453     // Thread context access
 454     //
 455 
 456     public synchronized long[] getThreadIntegerRegisterSet(int lwp_id)
 457                                             throws DebuggerException {