MemoryTraceCollecting

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun callEnded(callTracepoint: TRMethodCallTracePoint)

Must be called when the method call is ended and the call stack is popped.

Link copied to clipboard
open override fun finishCurrentThread()

Mark the thread as finished in strategy.

Link copied to clipboard
open override fun registerCurrentThread(threadId: Int)

Register current thread in strategy.

Link copied to clipboard
open override fun traceEnded()

Do nothing. Trace collected in memory can be saved by external means, if needed.

Link copied to clipboard
open override fun tracePointCreated(parent: TRMethodCallTracePoint?, created: TRTracePoint)

Must be called when a new tracepoint is created.