comparison agent/src/share/classes/sun/jvm/hotspot/debugger/MachineDescription.java @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
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. */