hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/MachineDescription.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    33 public interface MachineDescription extends Serializable {
    33 public interface MachineDescription extends Serializable {
    34   /** Returns the size of an address in bytes. Currently needed to be
    34   /** Returns the size of an address in bytes. Currently needed to be
    35       able to traverse arrays of pointers or oops. */
    35       able to traverse arrays of pointers or oops. */
    36   public long getAddressSize();
    36   public long getAddressSize();
    37 
    37 
    38   /** Returns the size of an address in bytes. Currently needed to be
       
    39       able to traverse arrays of pointers or oops. (FIXME: since we're
       
    40       already reading the Java primitive types' sizes from the remote
       
    41       VM, it would be nice to remove this routine, using a similar
       
    42       mechanism to how the TypeDataBase deals with primitive types.) */
       
    43   public long getOopSize();
       
    44 
       
    45   /** Returns the maximum value of the C integer type with the given
    38   /** Returns the maximum value of the C integer type with the given
    46       size in bytes and signedness. Throws IllegalArgumentException if
    39       size in bytes and signedness. Throws IllegalArgumentException if
    47       the size in bytes is not legal for a C type (or can not be
    40       the size in bytes is not legal for a C type (or can not be
    48       handled by this system). Note that the current implementation
    41       handled by this system). Note that the current implementation
    49       does not currently handle unsigned 8-byte longs properly. */
    42       does not currently handle unsigned 8-byte longs properly. */