| java.lang.Object org.netbeans.insane.live.LiveReferences
LiveReferences | final public class LiveReferences (Code) | | A live references engine entry point.
Provides a means for tracing root-paths of given heap objects.
author: nenik |
Method Summary | |
public static Map<Object, Path> | fromRoots(Collection<Object> objs) Traces the heap from known roots until all of the objects in
objs are found or all of the reachable heap is covered. | public static Map<Object, Path> | fromRoots(Collection<Object> objs, Set<Object> rootsHint, BoundedRangeModel progress) Traces the heap from known roots until all of the objects in
objs are found or all of the reachable heap is covered.
This call is highly time consuming and can block all of the application,
so it is mostly useful for debugging and runtime field analysis.
This variant allows approximate tracking of the scan progress,
but for real visual feedback, paintImmediatelly might be necessary.
Parameters: objs - a Collection of objects to trace Parameters: rootsHint - a set of Object that should be considered roots. | public static Map<Object, Path> | fromRoots(Collection<Object> objs, Set<Object> rootsHint, BoundedRangeModel progress, Filter f) Traces the heap from known roots until all of the objects in
objs are found or all of the reachable heap is covered.
This call is highly time consuming and can block all of the application,
so it is mostly useful for debugging and runtime field analysis.
This variant allows approximate tracking of the scan progress,
but for real visual feedback, paintImmediatelly might be necessary.
Parameters: objs - a Collection of objects to trace Parameters: rootsHint - a set of Object that should be considered roots. |
fromRoots | public static Map<Object, Path> fromRoots(Collection<Object> objs)(Code) | | Traces the heap from known roots until all of the objects in
objs are found or all of the reachable heap is covered.
This call is highly time consuming and can block all of the application,
so it is mostly useful for debugging and runtime field analysis.
Parameters: objs - a Collection of objects to trace a map with one entry for each found object that maps fromthe object to a Path instance. |
fromRoots | public static Map<Object, Path> fromRoots(Collection<Object> objs, Set<Object> rootsHint, BoundedRangeModel progress)(Code) | | Traces the heap from known roots until all of the objects in
objs are found or all of the reachable heap is covered.
This call is highly time consuming and can block all of the application,
so it is mostly useful for debugging and runtime field analysis.
This variant allows approximate tracking of the scan progress,
but for real visual feedback, paintImmediatelly might be necessary.
Parameters: objs - a Collection of objects to trace Parameters: rootsHint - a set of Object that should be considered roots. Can be null. Parameters: progress - a model of a ProgressBar to be notified during the scan. Can be null. a map with one entry for each found object that maps fromthe object to a Path instance. |
fromRoots | public static Map<Object, Path> fromRoots(Collection<Object> objs, Set<Object> rootsHint, BoundedRangeModel progress, Filter f)(Code) | | Traces the heap from known roots until all of the objects in
objs are found or all of the reachable heap is covered.
This call is highly time consuming and can block all of the application,
so it is mostly useful for debugging and runtime field analysis.
This variant allows approximate tracking of the scan progress,
but for real visual feedback, paintImmediatelly might be necessary.
Parameters: objs - a Collection of objects to trace Parameters: rootsHint - a set of Object that should be considered roots. Can be null. Parameters: progress - a model of a ProgressBar to be notified during the scan. Can be null. Parameters: f - the Filter to apply on heap's live objects. a map with one entry for each found object that maps fromthe object to a Path instance. |
|
|