Package org.ehcache.sizeof.impl


package org.ehcache.sizeof.impl
  • Class
    Description
    This will try to load the agent using the Attach API of JDK6.
    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.
    Detects and represents JVM-specific properties that relate to the memory data model for java objects that are useful for size of calculations.
     
    Primitive types in the VM type system and their sizes
    SizeOf that uses reflection to measure on heap size of object graphs Inspired by Dr.
     
    Unsafe.theUnsafe based sizeOf measurement All constructors will throw UnsupportedOperationException if theUnsafe isn't accessible on this platform