Class MemoryTracer.Payload
java.lang.Object
com.oracle.truffle.tools.profiler.MemoryTracer.Payload
- Enclosing class:
MemoryTracer
Used as a template parameter for
ProfilerNode
. Holds information about
allocation events
.- Since:
- 0.30
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
Increases the number of total allocations recorded while the associated element was on the shadow stack.
-
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
-