Interface PrimitiveArray

All Superinterfaces:
HeapObject

public interface PrimitiveArray extends HeapObject
Represents a primitive array from a heap dump. Provides access to the data stored in the array.
  • Method Details

    • readData

      @Nullable ByteBuffer readData()
      Reads the data stored in this primitive array as a ByteBuffer. You can use ByteBuffer.asIntBuffer() etc. to access the values of the array. For JProfiler heap dumps, the data will be limited to the first 10.000 elements.
      Returns:
      A ByteBuffer representation of the data in this primitive array, or null if the data is not available.