Class JMemoryBuddyLive


  • public class JMemoryBuddyLive
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static JMemoryBuddyLive.Report getReport()
      This clas provides a report, containing a list with details about object marked as collectable with markCollectable.
      static void markCollectable​(java.lang.String name, java.lang.Object ref)
      This class can be used to mark objects as collectable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JMemoryBuddyLive

        public JMemoryBuddyLive()
    • Method Detail

      • markCollectable

        public static void markCollectable​(java.lang.String name,
                                           java.lang.Object ref)
        This class can be used to mark objects as collectable. As long as this object isn't collected, it can be found by searching for the class AssertCollectableLive in the heap dump. It can also be found the report accessible by the method getReport.
      • getReport

        public static JMemoryBuddyLive.Report getReport()
        This clas provides a report, containing a list with details about object marked as collectable with markCollectable.
        Returns:
        The report.