Interface AllocationHotspots


public interface AllocationHotspots
Data object for allocation hot spots.

This object is returned by Connection.getAllocationHotspots for selected classes and for a selected package.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the hot spot values.
    long
    Returns the total size in bytes of all recorded objects that are included in this data object.
  • Method Details

    • getTotalSize

      long getTotalSize()
      Returns the total size in bytes of all recorded objects that are included in this data object.
      Returns:
      the total size in bytes
    • getAllocationHotspots

      List<ProfilingValue> getAllocationHotspots()
      Returns the hot spot values. This list is unsorted. The descriptor type of the ProfilingValue objects depends on the aggregation level that was specified for the calculation of the allocation hot spots.
      Returns:
      the list of hot spot values