hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/Address.java

Print this page
rev 611 : Merge

*** 1,7 **** /* ! * Copyright 2000-2002 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 85,94 **** --- 85,96 ---- public long getCIntegerAt (long offset, long numBytes, boolean isUnsigned) throws UnmappedAddressException, UnalignedAddressException; /** This returns null if the address at the given offset is NULL. */ public Address getAddressAt (long offset) throws UnmappedAddressException, UnalignedAddressException; + /** Returns the decoded address at the given offset */ + public Address getCompOopAddressAt (long offset) throws UnmappedAddressException, UnalignedAddressException; // // Java-related routines //
*** 101,110 **** --- 103,114 ---- public long getJLongAt (long offset) throws UnmappedAddressException, UnalignedAddressException; public short getJShortAt (long offset) throws UnmappedAddressException, UnalignedAddressException; /** This returns null if the address at the given offset is NULL. */ public OopHandle getOopHandleAt (long offset) throws UnmappedAddressException, UnalignedAddressException, NotInHeapException; + public OopHandle getCompOopHandleAt (long offset) + throws UnmappedAddressException, UnalignedAddressException, NotInHeapException; // // C/C++-related mutators. These throw UnmappedAddressException if // the target is read-only (for example, a core file rather than an // active process), if the target address is unmapped, or if it is