Package io.webfolder.cdp.command
Interface HeapProfiler
public interface HeapProfiler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInspectedHeapObject
(String heapObjectId) Enables console to refer to the node with given id via (see Command Line API for more details functions).void
void
disable()
void
enable()
getHeapObjectId
(String objectId) getObjectByHeapObjectId
(String objectId) getObjectByHeapObjectId
(String objectId, String objectGroup) void
void
startSampling
(Double samplingInterval, Boolean includeObjectsCollectedByMajorGC, Boolean includeObjectsCollectedByMinorGC) void
void
startTrackingHeapObjects
(Boolean trackAllocations) void
void
stopTrackingHeapObjects
(Boolean reportProgress, Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals) void
void
takeHeapSnapshot
(Boolean reportProgress, Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals)
-
Method Details
-
addInspectedHeapObject
Enables console to refer to the node with given id via (see Command Line API for more details functions).- Parameters:
heapObjectId
- Heap snapshot object id to be accessible by means of x command line API.
-
collectGarbage
void collectGarbage() -
disable
void disable() -
enable
void enable() -
getHeapObjectId
-
getObjectByHeapObjectId
-
getObjectByHeapObjectId
-
getSamplingProfile
SamplingHeapProfile getSamplingProfile() -
startSampling
void startSampling() -
startSampling
-
startTrackingHeapObjects
void startTrackingHeapObjects() -
startTrackingHeapObjects
-
stopSampling
SamplingHeapProfile stopSampling() -
stopTrackingHeapObjects
void stopTrackingHeapObjects() -
stopTrackingHeapObjects
void stopTrackingHeapObjects(Boolean reportProgress, @Deprecated Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals) -
takeHeapSnapshot
void takeHeapSnapshot() -
takeHeapSnapshot
void takeHeapSnapshot(Boolean reportProgress, @Deprecated Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals)
-