hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/Win32DebuggerLocal.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   304   public Win32Address readAddress(long address)
   304   public Win32Address readAddress(long address)
   305     throws UnmappedAddressException, UnalignedAddressException {
   305     throws UnmappedAddressException, UnalignedAddressException {
   306     return (Win32Address) newAddress(readAddressValue(address));
   306     return (Win32Address) newAddress(readAddressValue(address));
   307   }
   307   }
   308 
   308 
       
   309   public Win32Address readCompOopAddress(long address)
       
   310     throws UnmappedAddressException, UnalignedAddressException {
       
   311     return (Win32Address) newAddress(readCompOopAddressValue(address));
       
   312   }
       
   313 
   309   /** From the Win32Debugger interface */
   314   /** From the Win32Debugger interface */
   310   public Win32OopHandle readOopHandle(long address)
   315   public Win32OopHandle readOopHandle(long address)
   311     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
   316     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
   312     long value = readAddressValue(address);
   317     long value = readAddressValue(address);
       
   318     return (value == 0 ? null : new Win32OopHandle(this, value));
       
   319   }
       
   320   public Win32OopHandle readCompOopHandle(long address)
       
   321     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
       
   322     long value = readCompOopAddressValue(address);
   313     return (value == 0 ? null : new Win32OopHandle(this, value));
   323     return (value == 0 ? null : new Win32OopHandle(this, value));
   314   }
   324   }
   315 
   325 
   316   /** From the Win32Debugger interface */
   326   /** From the Win32Debugger interface */
   317   public void writeAddress(long address, Win32Address value) {
   327   public void writeAddress(long address, Win32Address value) {