A B C D F G H I J N O R S T V 

A

alignObjectSize(long) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Aligns an object size to be the next multiple of RamUsageEstimator.NUM_BYTES_OBJECT_ALIGNMENT.

B

BlackMagic - Class in com.carrotsearch.sizeof
This class contains black magic stuff based mostly on proprietary APIs and hacks.
BlackMagic() - Constructor for class com.carrotsearch.sizeof.BlackMagic
 

C

com.carrotsearch.sizeof - package com.carrotsearch.sizeof
 

D

description - Variable in enum com.carrotsearch.sizeof.RamUsageEstimator.JvmFeature
 
dump(PrintWriter, Object) - Static method in class com.carrotsearch.sizeof.ObjectTree
Dump the object tree to a PrintWriter.
dump(Object) - Static method in class com.carrotsearch.sizeof.ObjectTree
Dump the object tree to a String.

F

fieldsLayoutAsString(Class<?>) - Static method in class com.carrotsearch.sizeof.BlackMagic
Attempts to dump a layout of a class's fields in memory (offsets from base object pointer).

G

getSupportedFeatures() - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Return the set of supported JVM features that improve the estimation.
getUnsafe() - Static method in class com.carrotsearch.sizeof.BlackMagic
Returns Unsafe if available or throw a RuntimeException.
getUnsupportedFeatures() - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Return the set of unsupported JVM features that improve the estimation.

H

humanReadableUnits(long) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns size in human-readable units (GB, MB, KB or bytes).
humanReadableUnits(long, DecimalFormat) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns size in human-readable units (GB, MB, KB or bytes).
humanSizeOf(Object) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Return a human-readable size of a given object.

I

isSupportedJVM() - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns true, if the current JVM is fully supported by RamUsageEstimator.

J

JVM_INFO_STRING - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
JVM info string for debugging and reports.

N

NUM_BYTES_ARRAY_HEADER - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
Number of bytes to represent an array header (no content, but with alignments).
NUM_BYTES_BOOLEAN - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 
NUM_BYTES_BYTE - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 
NUM_BYTES_CHAR - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 
NUM_BYTES_DOUBLE - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 
NUM_BYTES_FLOAT - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 
NUM_BYTES_INT - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 
NUM_BYTES_LONG - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 
NUM_BYTES_OBJECT_ALIGNMENT - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
A constant specifying the object alignment boundary inside the JVM.
NUM_BYTES_OBJECT_HEADER - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
Number of bytes to represent an object header (no fields, no alignments).
NUM_BYTES_OBJECT_REF - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
Number of bytes this jvm uses to represent an object reference.
NUM_BYTES_SHORT - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
 

O

objectMemoryAsString(Object) - Static method in class com.carrotsearch.sizeof.BlackMagic
Attempts to dump physical object's memory as a string.
ObjectTree - Class in com.carrotsearch.sizeof
Dumps retained and shallow memory taken by an object and its reference hierarchy.
ObjectTree() - Constructor for class com.carrotsearch.sizeof.ObjectTree
 
ONE_GB - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
One gigabyte bytes.
ONE_KB - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
One kilobyte bytes.
ONE_MB - Static variable in class com.carrotsearch.sizeof.RamUsageEstimator
One megabyte bytes.

R

RamUsageEstimator - Class in com.carrotsearch.sizeof
Estimates the size (memory representation) of Java objects.
RamUsageEstimator.JvmFeature - Enum in com.carrotsearch.sizeof
JVM diagnostic features.

S

shallowSizeOf(Object) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Estimates a "shallow" memory usage of the given object.
shallowSizeOfAll(Object...) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Same as RamUsageEstimator.shallowSizeOf(Object) but sums up all the arguments.
shallowSizeOfAll(Iterable<Object>) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Same as RamUsageEstimator.shallowSizeOf(Object) but sums up all the arguments.
shallowSizeOfInstance(Class<?>) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the shallow instance size in bytes an instance of the given class would occupy.
sizeOf(byte[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the byte[] object.
sizeOf(boolean[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the boolean[] object.
sizeOf(char[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the char[] object.
sizeOf(short[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the short[] object.
sizeOf(int[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the int[] object.
sizeOf(float[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the float[] object.
sizeOf(long[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the long[] object.
sizeOf(double[]) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Returns the size in bytes of the double[] object.
sizeOf(Object) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Estimates the RAM usage by the given object.
sizeOfAll(Object...) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Same as RamUsageEstimator.sizeOf(Object) but sums up all the arguments.
sizeOfAll(Iterable<Object>) - Static method in class com.carrotsearch.sizeof.RamUsageEstimator
Same as RamUsageEstimator.sizeOf(Object) but sums up all the arguments.

T

toString() - Method in enum com.carrotsearch.sizeof.RamUsageEstimator.JvmFeature
 

V

valueOf(String) - Static method in enum com.carrotsearch.sizeof.RamUsageEstimator.JvmFeature
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.carrotsearch.sizeof.RamUsageEstimator.JvmFeature
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D F G H I J N O R S T V 

Copyright © 2013 Carrot Search s.c.. All Rights Reserved.