Top Description Classes Enums
[default module]

Package net.sf.ehcache.pool.sizeof


This package contains the SizeOf implementations for the pooling in Ehcache.

Class Summary

Modifier and TypeClass and Description
pack-priv class
AgentLoader

This will try to load the agent using the Attach API of JDK6.

public class
AgentSizeOf

SizeOf implementation that relies on a Java agent to be loaded to do the measurement It will try to load the agent through the JDK6 Attach API if available All it's constructor do throw UnsupportedOperationException if the agent isn't present or couldn't be loaded dynamically

public class
pack-priv class
ObjectGraphWalker

This will walk an object graph and let you execute some "function" along the way

public class
ReflectionSizeOf

SizeOf that uses reflection to measure on heap size of object graphs

public abstract class
SizeOf

Abstract sizeOf for Java.

public class
UnsafeSizeOf

sun.misc.Unsafe#theUnsafe based sizeOf measurement All constructors will throw UnsupportedOperationException if theUnsafe isn't accessible on this platform

Enum Summary

Modifier and TypeEnum and Description
pack-priv enum
FlyweightType

Enum with all the flyweight types that we check for sizeOf measurements

public enum
JvmInformation

Detects and represents JVM-specific properties that relate to the memory data model for java objects that are useful for size of calculations.

pack-priv enum
PrimitiveType

Primitive types in the VM type system and their sizes