Package de.sandec.jmemorybuddy
Class JMemoryBuddyLive
- java.lang.Object
-
- de.sandec.jmemorybuddy.JMemoryBuddyLive
-
public class JMemoryBuddyLive extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJMemoryBuddyLive.CollectableEntrystatic classJMemoryBuddyLive.Report
-
Constructor Summary
Constructors Constructor Description JMemoryBuddyLive()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JMemoryBuddyLive.ReportgetReport()This clas provides a report, containing a list with details about object marked as collectable with markCollectable.static voidmarkCollectable(java.lang.String name, java.lang.Object ref)This class can be used to mark objects as collectable.
-
-
-
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.
-
-