/** * {@inheritDoc} */ @Override public IObjectSizes getObject() throws Exception { boolean compressedOops = UnderlyingSystemInfo.IS_COMPRESSED_OOPS; if (!compressedOops) { return new ObjectSizes64Bits(); } else { return new ObjectSizes64BitsCompressedOops(); } }