Package io.webfolder.cdp.command
Interface HeapProfiler
public interface HeapProfiler
-
Method Summary
Modifier and Type Method Description voidaddInspectedHeapObject(java.lang.String heapObjectId)Enables console to refer to the node with given id via (see Command Line API for more details functions).voidcollectGarbage()voiddisable()voidenable()java.lang.StringgetHeapObjectId(java.lang.String objectId)RemoteObjectgetObjectByHeapObjectId(java.lang.String objectId)RemoteObjectgetObjectByHeapObjectId(java.lang.String objectId, java.lang.String objectGroup)SamplingHeapProfilegetSamplingProfile()voidstartSampling()voidstartSampling(java.lang.Double samplingInterval)voidstartTrackingHeapObjects()voidstartTrackingHeapObjects(java.lang.Boolean trackAllocations)SamplingHeapProfilestopSampling()voidstopTrackingHeapObjects()voidstopTrackingHeapObjects(java.lang.Boolean reportProgress)voidtakeHeapSnapshot()voidtakeHeapSnapshot(java.lang.Boolean reportProgress)
-
Method Details
-
addInspectedHeapObject
void addInspectedHeapObject(java.lang.String heapObjectId)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
java.lang.String getHeapObjectId(java.lang.String objectId) -
getObjectByHeapObjectId
-
getSamplingProfile
SamplingHeapProfile getSamplingProfile() -
startSampling
void startSampling(java.lang.Double samplingInterval) -
startTrackingHeapObjects
void startTrackingHeapObjects(java.lang.Boolean trackAllocations) -
stopSampling
SamplingHeapProfile stopSampling() -
stopTrackingHeapObjects
void stopTrackingHeapObjects(java.lang.Boolean reportProgress) -
takeHeapSnapshot
void takeHeapSnapshot(java.lang.Boolean reportProgress) -
getObjectByHeapObjectId
-
startSampling
void startSampling() -
startTrackingHeapObjects
void startTrackingHeapObjects() -
stopTrackingHeapObjects
void stopTrackingHeapObjects() -
takeHeapSnapshot
void takeHeapSnapshot()
-