public static int roundUpSize(int size) {
    return (int) roundUpSize((long) size);
  }
Round up to the nearest 8 bytes. Experimentally, this is what we've seen the sun 32 bit JVM do
with object size.
geode-core/src/main/java/org/apache/geode/internal/JvmSizeUtils.java