hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/remote/RemoteAddress.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    69   }
    69   }
    70 
    70 
    71   public Address getAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
    71   public Address getAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
    72     return debugger.readAddress(addr + offset);
    72     return debugger.readAddress(addr + offset);
    73   }
    73   }
       
    74   public Address getCompOopAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
       
    75     return debugger.readCompOopAddress(addr + offset);
       
    76   }
    74 
    77 
    75   //
    78   //
    76   // Java-related routines
    79   // Java-related routines
    77   //
    80   //
    78 
    81 
   109   }
   112   }
   110 
   113 
   111   public OopHandle getOopHandleAt(long offset)
   114   public OopHandle getOopHandleAt(long offset)
   112     throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
   115     throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
   113     return debugger.readOopHandle(addr + offset);
   116     return debugger.readOopHandle(addr + offset);
       
   117   }
       
   118   public OopHandle getCompOopHandleAt(long offset)
       
   119     throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
       
   120     return debugger.readCompOopHandle(addr + offset);
   114   }
   121   }
   115 
   122 
   116   // Mutators -- not implemented for now (FIXME)
   123   // Mutators -- not implemented for now (FIXME)
   117   public void setCIntegerAt(long offset, long numBytes, long value) {
   124   public void setCIntegerAt(long offset, long numBytes, long value) {
   118     throw new DebuggerException("Unimplemented");
   125     throw new DebuggerException("Unimplemented");