hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/dummy/DummyAddress.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    74 
    74 
    75   public Address getAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
    75   public Address getAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
    76     return new DummyAddress(debugger, badLong);
    76     return new DummyAddress(debugger, badLong);
    77   }
    77   }
    78 
    78 
       
    79   public Address getCompOopAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
       
    80     return new DummyAddress(debugger, badLong);
       
    81   }
       
    82 
    79   //
    83   //
    80   // Java-related routines
    84   // Java-related routines
    81   //
    85   //
    82 
    86 
    83   public boolean getJBooleanAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
    87   public boolean getJBooleanAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
   111   public short getJShortAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
   115   public short getJShortAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
   112     return (short) badLong;
   116     return (short) badLong;
   113   }
   117   }
   114 
   118 
   115   public OopHandle getOopHandleAt(long offset)
   119   public OopHandle getOopHandleAt(long offset)
       
   120     throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
       
   121     return new DummyOopHandle(debugger, badLong);
       
   122   }
       
   123   public OopHandle getCompOopHandleAt(long offset)
   116     throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
   124     throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
   117     return new DummyOopHandle(debugger, badLong);
   125     return new DummyOopHandle(debugger, badLong);
   118   }
   126   }
   119 
   127 
   120   // Mutators -- not implemented
   128   // Mutators -- not implemented