Uses of Interface
org.github.jamm.MemoryMeterStrategy
Packages that use MemoryMeterStrategy
-
Uses of MemoryMeterStrategy in org.github.jamm
Methods in org.github.jamm with parameters of type MemoryMeterStrategyModifier and TypeMethodDescriptiondefault long
Measurable.shallowSize
(MemoryMeterStrategy strategy) Allow the implementation to pre-compute and cache theMeasurable
shallow size.Constructors in org.github.jamm with parameters of type MemoryMeterStrategyModifierConstructorDescriptionMemoryMeter
(MemoryMeterStrategy strategy, FieldAndClassFilter classFilter, FieldFilter fieldFilter, MemoryMeterListener.Factory listenerFactory) Create a newMemoryMeter
instance from the different component it needs to measure object graph. -
Uses of MemoryMeterStrategy in org.github.jamm.strategies
Classes in org.github.jamm.strategies that implement MemoryMeterStrategyModifier and TypeClassDescriptionclass
Strategy that usejava.lang.instrument.Instrumentation
to measure non array object and theSpecification
approach to measure arrays.class
Base class for strategies that need access to theMemoryLayoutSpecification
for computing object size.final class
MemoryMeterStrategy
relying onUnsafe
to measure object sizes for Java versions ≥ 15.Methods in org.github.jamm.strategies that return MemoryMeterStrategyModifier and TypeMethodDescriptionMemoryMeterStrategies.getStrategy
(List<MemoryMeter.Guess> guessList) -
Uses of MemoryMeterStrategy in org.github.jamm.string
Methods in org.github.jamm.string with parameters of type MemoryMeterStrategyModifier and TypeMethodDescriptionlong
StringMeter.measureDeep
(MemoryMeterStrategy strategy, String s) Measure the deep size of the specified String.protected abstract long
StringMeter.measureStringValue
(MemoryMeterStrategy strategy, String s) Measure the size of the value of the specified String.