Example usage for Java jdk.nashorn.internal.ir.debug ObjectSizeCalculator fields, constructors, methods, implement or subclass
The text is from its open source code.
long | getObjectSize(final Object obj) Given an object, returns the total allocated size, in bytes, of the object and all other objects reachable from it. |