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 longMeasurable.shallowSize(MemoryMeterStrategy strategy) Allow the implementation to pre-compute and cache theMeasurableshallow size.Constructors in org.github.jamm with parameters of type MemoryMeterStrategyModifierConstructorDescriptionMemoryMeter(MemoryMeterStrategy strategy, FieldAndClassFilter classFilter, FieldFilter fieldFilter, MemoryMeterListener.Factory listenerFactory) Create a newMemoryMeterinstance 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 TypeClassDescriptionclassStrategy that usejava.lang.instrument.Instrumentationto measure non array object and theSpecificationapproach to measure arrays.classBase class for strategies that need access to theMemoryLayoutSpecificationfor computing object size.final classMemoryMeterStrategyrelying onUnsafeto 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 TypeMethodDescriptionlongStringMeter.measureDeep(MemoryMeterStrategy strategy, String s) Measure the deep size of the specified String.protected abstract longStringMeter.measureStringValue(MemoryMeterStrategy strategy, String s) Measure the size of the value of the specified String.