@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + RamUsageEstimator.NUM_BYTES_OBJECT_REF; }
@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + Float.BYTES; }
@Override public long ramBytesUsed() { long bytesUsed = RamUsageEstimator.alignObjectSize(baseRamBytesUsed()); bytesUsed += RamUsageEstimator.alignObjectSize(RamUsageEstimator.shallowSizeOf(subMutables)); for (PackedInts.Mutable gw : subMutables) { bytesUsed += gw.ramBytesUsed(); } return bytesUsed; }
@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + RamUsageEstimator.NUM_BYTES_OBJECT_REF; }
@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + Float.BYTES; }
@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + RamUsageEstimator.NUM_BYTES_FLOAT; }
@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + RamUsageEstimator.NUM_BYTES_FLOAT; }
@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + RamUsageEstimator.NUM_BYTES_OBJECT_REF; }
@Override protected long baseRamBytesUsed() { return super.baseRamBytesUsed() + RamUsageEstimator.NUM_BYTES_OBJECT_REF; }
@Override public long ramBytesUsed() { long bytesUsed = RamUsageEstimator.alignObjectSize(baseRamBytesUsed()); bytesUsed += RamUsageEstimator.alignObjectSize(RamUsageEstimator.shallowSizeOf(subMutables)); for (PackedInts.Mutable gw : subMutables) { bytesUsed += gw.ramBytesUsed(); } return bytesUsed; }
@Override public long ramBytesUsed() { long bytesUsed = RamUsageEstimator.alignObjectSize(baseRamBytesUsed()); bytesUsed += RamUsageEstimator.alignObjectSize(RamUsageEstimator.shallowSizeOf(subMutables)); for (PackedInts.Mutable gw : subMutables) { bytesUsed += gw.ramBytesUsed(); } return bytesUsed; }
@Override public long ramBytesUsed() { long bytesUsed = RamUsageEstimator.alignObjectSize(baseRamBytesUsed()); bytesUsed += RamUsageEstimator.alignObjectSize(RamUsageEstimator.shallowSizeOf(subMutables)); for (PackedInts.Mutable gw : subMutables) { bytesUsed += gw.ramBytesUsed(); } return bytesUsed; }