< prev index next > src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/Universe.java
Print this page
public void print() { printOn(System.out); }
public void printOn(PrintStream tty) {
heap().printOn(tty);
}
- // Check whether an element of a typeArrayOop with the given type must be
- // aligned 0 mod 8. The typeArrayOop itself must be aligned at least this
- // strongly.
- public static boolean elementTypeShouldBeAligned(BasicType type) {
- return type == BasicType.T_DOUBLE || type == BasicType.T_LONG;
- }
-
// Check whether an object field (static/non-static) of the given type must be
// aligned 0 mod 8.
public static boolean fieldTypeShouldBeAligned(BasicType type) {
return type == BasicType.T_DOUBLE || type == BasicType.T_LONG;
}
< prev index next >