Interface HeapProfiler


  • public interface HeapProfiler
    • Method Detail

      • 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)
      • startSampling

        void startSampling​(Double samplingInterval)
      • startTrackingHeapObjects

        void startTrackingHeapObjects​(Boolean trackAllocations)
      • stopTrackingHeapObjects

        void stopTrackingHeapObjects​(Boolean reportProgress)
      • takeHeapSnapshot

        void takeHeapSnapshot​(Boolean reportProgress)
      • startSampling

        void startSampling()
      • startTrackingHeapObjects

        void startTrackingHeapObjects()
      • stopTrackingHeapObjects

        void stopTrackingHeapObjects()
      • takeHeapSnapshot

        void takeHeapSnapshot()