Class MemoryTracer.Payload

java.lang.Object
com.oracle.truffle.tools.profiler.MemoryTracer.Payload
Enclosing class:
MemoryTracer

public static final class MemoryTracer.Payload extends Object
Used as a template parameter for ProfilerNode. Holds information about allocation events.
Since:
0.30
  • Method Details

    • getTotalAllocations

      public long getTotalAllocations()
      Returns:
      Total number of allocations recorded while the associated element was on the shadow stack
      Since:
      0.30
    • incrementTotalAllocations

      public void incrementTotalAllocations()
      Increases the number of total allocations recorded while the associated element was on the shadow stack.
      Since:
      0.30
    • getEvents

      Returns:
      Information about all the allocation events that happened while the associated element was at the top of the shadow stack.
      Since:
      0.30