Interface HeapProfiler


public interface HeapProfiler
  • Method Details

    • addInspectedHeapObject

      void addInspectedHeapObject(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

      String getHeapObjectId(String objectId)
    • getObjectByHeapObjectId

      RemoteObject getObjectByHeapObjectId(String objectId)
    • getObjectByHeapObjectId

      RemoteObject getObjectByHeapObjectId(String objectId, String objectGroup)
    • getSamplingProfile

      SamplingHeapProfile getSamplingProfile()
    • startSampling

      void startSampling()
    • startSampling

      void startSampling(Double samplingInterval, Boolean includeObjectsCollectedByMajorGC, Boolean includeObjectsCollectedByMinorGC)
    • startTrackingHeapObjects

      void startTrackingHeapObjects()
    • startTrackingHeapObjects

      void startTrackingHeapObjects(Boolean trackAllocations)
    • 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)