| Package | Description |
|---|---|
| org.ehcache.sizeof | |
| org.ehcache.sizeof.impl |
| Modifier and Type | Method and Description |
|---|---|
static SizeOf |
SizeOf.newInstance(boolean bypassFlyweight,
boolean cache,
SizeOfFilter... filters) |
static SizeOf |
SizeOf.newInstance(SizeOfFilter... filters) |
| Modifier and Type | Class and Description |
|---|---|
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
Inspired by Dr.
|
class |
ReflectionSizeOf
SizeOf that uses reflection to measure on heap size of object graphs
Inspired by Dr.
|
class |
UnsafeSizeOf
Unsafe.theUnsafe based sizeOf measurement
All constructors will throw UnsupportedOperationException if theUnsafe isn't accessible on this platform |
Copyright © 2024 Terracotta. All rights reserved.