Interface IClassLoader

    • Method Detail

      • getRetainedHeapSizeOfObjects

        long getRetainedHeapSizeOfObjects​(boolean calculateIfNotAvailable,
                                          boolean calculateMinRetainedSize,
                                          IProgressListener listener)
                                   throws SnapshotException
        Returns the retained size of all objects and classes loaded by this class loader.
        Parameters:
        calculateIfNotAvailable - if false only return a cached version of the size
        calculateMinRetainedSize - if true then when calculating use an approximation
        listener - to indicate progress and errors
        Returns:
        the retained size, negative if approximate
        Throws:
        SnapshotException