- IdentityHashSet - Class in org.github.jamm
-
Simple set that use object equality to compare elements.
- IdentityHashSet() - Constructor for class org.github.jamm.IdentityHashSet
-
- ignore(Class<?>, Field) - Method in interface org.github.jamm.FieldAndClassFilter
-
- ignore(Class<?>) - Method in interface org.github.jamm.FieldAndClassFilter
-
Checks whether a Class must be ignored or not.
- ignore(Class<?>, Field) - Method in interface org.github.jamm.FieldFilter
-
Checks whether a Field must be ignored or not.
- IGNORE_CLEANER_FIELDS - Static variable in class org.github.jamm.Filters
-
Filter excluding some of the fields from sun.misc.Cleaner as they should not be taken into account.
- IGNORE_KNOWN_SINGLETONS - Static variable in class org.github.jamm.Filters
-
Filter excluding class such as Enum, Class, ClassLoader and AccessControlContext
- IGNORE_NON_STRONG_REFERENCES - Static variable in class org.github.jamm.Filters
-
Filter excluding all the Reference's fields and the head field of ReferenceQueue.
- IGNORE_OUTER_CLASS_REFERENCES - Static variable in class org.github.jamm.Filters
-
Filter excluding the outer class reference from non-static inner classes.
- IGNORE_STATIC_AND_PRIMITIVE_FIELDS - Static variable in class org.github.jamm.Filters
-
Filter excluding static and primitive fields
- IGNORE_THREAD_FIELDS - Static variable in class org.github.jamm.Filters
-
Filter excluding the group field from thread classes as that field holds the references to all the other threads from the group to which the thread belongs.
- IGNORE_UNMETERED_FIELDS_AND_CLASSES - Static variable in class org.github.jamm.Filters
-
Filter excluding fields and class annotated with Unmetered
- ignoreOuterClassReference() - Method in class org.github.jamm.MemoryMeter.Builder
-
Ignores the outer class reference from non-static inner classes.
- instrumentation - Static variable in class org.github.jamm.strategies.MemoryMeterStrategies
-
- InstrumentationAndSpecStrategy - Class in org.github.jamm.strategies
-
Strategy that use java.lang.instrument.Instrumentation to measure non array object and the Specification approach to measure arrays.
- InstrumentationAndSpecStrategy(Instrumentation) - Constructor for class org.github.jamm.strategies.InstrumentationAndSpecStrategy
-
- is32Bits() - Static method in class org.github.jamm.VM
-
Checks if the JVM is a 32 bits one.
- isPreJava12JVM() - Static method in class org.github.jamm.VM
-
Checks if the JVM is a pre-Java 12 version.
- isSlab(ByteBuffer) - Method in enum org.github.jamm.MemoryMeter.ByteBufferMode
-
Checks if this buffer can be considered as a SLAB according to this mode.
- MathUtils - Class in org.github.jamm.utils
-
- mayBeMethodHandle(Class<?>, String) - Static method in class org.github.jamm.utils.MethodHandleUtils
-
Returns the MethodHandle for the specified class and method if the method exists.
- Measurable - Interface in org.github.jamm
-
Interface that allows users to avoid crawling via reflection by adding children manually to the stack, therefore
speeding up the computation.
- measure(Object) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the object.
- measure(Object) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified object.
- measure(Object) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(Object[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified Object array.
- measureArray(byte[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified byte array.
- measureArray(boolean[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified boolean array.
- measureArray(short[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified short array.
- measureArray(char[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified char array.
- measureArray(int[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified int array.
- measureArray(float[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified float array.
- measureArray(double[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified double array.
- measureArray(long[]) - Method in class org.github.jamm.MemoryMeter
-
Measures the shallow memory usage of the specified long array.
- measureArray(Object, Class<?>) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified array.
- measureArray(Object[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified array.
- measureArray(byte[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified byte array.
- measureArray(boolean[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified boolean array.
- measureArray(short[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified short array.
- measureArray(char[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified char array.
- measureArray(int[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified int array.
- measureArray(float[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified float array.
- measureArray(long[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified long array.
- measureArray(double[]) - Method in interface org.github.jamm.MemoryMeterStrategy
-
Measures the shallow memory used by the specified double array.
- measureArray(Object[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(byte[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(boolean[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(short[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(char[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(int[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(float[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(long[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(double[]) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- measureArray(Object, Class<?>) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
Measure the shallow memory used by the specified array.
- measureDeep(Object) - Method in class org.github.jamm.MemoryMeter
-
Measures the memory usage of the object including referenced objects.
- measureDeep(Object, MemoryMeter.ByteBufferMode) - Method in class org.github.jamm.MemoryMeter
-
Measures the memory usage of the object including referenced objects.
- measureDeep(MemoryMeterStrategy, String) - Method in class org.github.jamm.string.StringMeter
-
Measure the deep size of the specified String.
- measureField(Class<?>) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
Returns the size of a field of the specified type.
- measureInstance(Object, Class<?>) - Method in class org.github.jamm.strategies.InstrumentationAndSpecStrategy
-
- measureInstance(Object, Class<?>) - Method in class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
Measures the shallow memory used by objects of the specified class.
- measureInstance(Object, Class<?>) - Method in class org.github.jamm.strategies.UnsafeStrategy
-
- measureKnownSingletons() - Method in class org.github.jamm.MemoryMeter.Builder
-
Measures the space occupied by known singletons such as
Class objects,
enums,
ClassLoaders and
AccessControlContexts.
- MeasurementStack - Class in org.github.jamm
-
- measureNonStrongReferences() - Method in class org.github.jamm.MemoryMeter.Builder
-
Measures the references from a
Reference (like weak/soft/phantom references).
- measureStringDeep(String) - Method in class org.github.jamm.MemoryMeter
-
Measures the deep memory usage of the specified String
- measureStringValue(MemoryMeterStrategy, String) - Method in class org.github.jamm.string.StringMeter
-
Measure the size of the value of the specified String.
- MEMORY_LAYOUT - Static variable in interface org.github.jamm.MemoryMeterStrategy
-
The memory layout detected by JAMM.
- MemoryLayoutBasedStrategy - Class in org.github.jamm.strategies
-
Base class for strategies that need access to the MemoryLayoutSpecification for computing object size.
- MemoryLayoutBasedStrategy() - Constructor for class org.github.jamm.strategies.MemoryLayoutBasedStrategy
-
- MemoryLayoutSpecification - Interface in org.github.jamm
-
Information about the memory layout used by the JVM running the code.
- MemoryMeter - Class in org.github.jamm
-
Utility to measure the heap space used by java objects.
- MemoryMeter(MemoryMeterStrategy, FieldAndClassFilter, FieldFilter, MemoryMeterListener.Factory) - Constructor for class org.github.jamm.MemoryMeter
-
Create a new
MemoryMeter instance from the different component it needs to measure object graph.
- MemoryMeter.Builder - Class in org.github.jamm
-
Builder for MemoryMeter instances
- MemoryMeter.ByteBufferMode - Enum in org.github.jamm
-
The different way of measuring deeply a ByteBuffer.
- MemoryMeter.Guess - Enum in org.github.jamm
-
The different strategies that can be used by a MemoryMeter instance to measure the shallow size of an object.
- MemoryMeterListener - Interface in org.github.jamm
-
Listener that receive notification form MemoryMeter.
- MemoryMeterListener.Factory - Interface in org.github.jamm
-
A factory for MemoryMeterListener.
- MemoryMeterStrategies - Class in org.github.jamm.strategies
-
The different strategies that can be used to measure object sizes.
- MemoryMeterStrategy - Interface in org.github.jamm
-
Represents a strategy to measure the shallow memory used by a Java object.
- methodHandle(Method) - Static method in class org.github.jamm.utils.MethodHandleUtils
-
Returns the MethodHandle for the specified method.
- methodHandle(Field) - Static method in class org.github.jamm.utils.MethodHandleUtils
-
Returns the MethodHandle for the specified field.
- MethodHandleUtils - Class in org.github.jamm.utils
-