Index
All Classes and Interfaces|All Packages
C
- clearData() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Erases all the data gathered by the sampler and resets the sample count to 0.
- clearData() - Method in class com.oracle.truffle.tools.profiler.CPUTracer
-
Erases all the data gathered by the tracer.
- clearData() - Method in class com.oracle.truffle.tools.profiler.HeapMonitor
-
Erases all the data gathered by the
HeapMonitor. - clearData() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
-
Erases all the data gathered by the tracer.
- close() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Closes the sampler for further use, deleting all the gathered data.
- close() - Method in class com.oracle.truffle.tools.profiler.CPUTracer
-
Closes the tracer for fuhrer use, deleting all the gathered data.
- close() - Method in class com.oracle.truffle.tools.profiler.HeapMonitor
-
Closes the
HeapMonitorfor further use, deleting all the gathered data. - close() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
-
Closes the tracer for fuhrer use, deleting all the gathered data.
- com.oracle.truffle.tools.profiler - package com.oracle.truffle.tools.profiler
-
Package containing classes implementing the Truffle Profiler.
- CPUSampler - Class in com.oracle.truffle.tools.profiler
-
Implementation of a sampling based profiler for Truffle languages built on top of the Truffle safepoints and
iterateFrames(). - CPUSampler.Payload - Class in com.oracle.truffle.tools.profiler
-
Wrapper for information on how many times an element was seen on the stack.
- CPUSamplerData - Class in com.oracle.truffle.tools.profiler
-
Execution profile of a particular context.
- CPUTracer - Class in com.oracle.truffle.tools.profiler
-
Implementation of a tracing based profiler for Truffle languages built on top of the Truffle instrumentation framework.
- CPUTracer.Payload - Class in com.oracle.truffle.tools.profiler
-
Holds data on how many times a section of source code was executed.
E
- equals(Object) - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
F
- find(Engine) - Static method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Finds
CPUSamplerassociated with given engine. - find(Engine) - Static method in class com.oracle.truffle.tools.profiler.CPUTracer
-
Finds
CPUTracerassociated with given engine. - find(Engine) - Static method in class com.oracle.truffle.tools.profiler.HeapMonitor
-
Returns the
HeapMonitorassociated with a given engine. - find(Engine) - Static method in class com.oracle.truffle.tools.profiler.MemoryTracer
-
Finds
MemoryTracerassociated with given engine.
G
- getAliveBytes() - Method in class com.oracle.truffle.tools.profiler.HeapSummary
-
Returns the number of bytes used by alive object instances.
- getAliveInstances() - Method in class com.oracle.truffle.tools.profiler.HeapSummary
-
Returns the number of objects that are alive (i.e.
- getAllocated() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.AllocationEventInfo
- getChildren() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
- getContext() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
-
Deprecated.
- getContextIndex() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
- getCount() - Method in class com.oracle.truffle.tools.profiler.CPUTracer.Payload
- getCountCompiled() - Method in class com.oracle.truffle.tools.profiler.CPUTracer.Payload
- getCountInterpreted() - Method in class com.oracle.truffle.tools.profiler.CPUTracer.Payload
- getData() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Deprecated.in 24.1.0. Contexts are no longer stored permanently. Use
CPUSampler.getDataList()to get all sampler data. - getDataList() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Get per-context profiling data.
- getEvents() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.Payload
- getFilter() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- getFilter() - Method in class com.oracle.truffle.tools.profiler.CPUTracer
- getHitCount() - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
- getLanguage() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.AllocationEventInfo
- getMetaObjectString() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.AllocationEventInfo
- getNumberOfTiers() - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
- getParent() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
- getPayload() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
- getPayloads() - Method in class com.oracle.truffle.tools.profiler.CPUTracer
- getPeriod() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- getRootName() - Method in class com.oracle.truffle.tools.profiler.CPUTracer.Payload
- getRootName() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
- getRootName() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
-
Returns the name of the root node.
- getRootNodes() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
- getSampleBias() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
-
The sample bias is a measurement of of how much time passed between requesting a stack sample and starting the stack traversal.
- getSampleDuration() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
-
The sample duration is a measurement of how long it took to traverse the stack when taking a sample.
- getSampleInterval() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
- getSamples() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
- getSelfHitCount() - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
- getSelfHitTimes() - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
- getSourceSection() - Method in class com.oracle.truffle.tools.profiler.CPUTracer.Payload
- getSourceSection() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
- getSourceSection() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
-
Returns the source section of the stack trace entry.
- getStackLimit() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- getStackLimit() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
- getTags() - Method in class com.oracle.truffle.tools.profiler.CPUTracer.Payload
-
Returns a set tags a stack location marked with.
- getTags() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
-
Returns a set tags a stack location marked with.
- getTags() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
-
Returns a set tags a stack location marked with.
- getThreadData() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
- getThreadToNodesMap() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
- getTier() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
- getTierSelfCount(int) - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
- getTierTotalCount(int) - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
- getTotalAllocations() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.Payload
- getTotalBytes() - Method in class com.oracle.truffle.tools.profiler.HeapSummary
-
Returns the total number of bytes allocated.
- getTotalInstances() - Method in class com.oracle.truffle.tools.profiler.HeapSummary
-
Returns the total number of allocated instances.
H
- hasData() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- hasData() - Method in class com.oracle.truffle.tools.profiler.HeapMonitor
- hasData() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
- hashCode() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
- hasStackOverflowed() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- hasStackOverflowed() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
- HeapMonitor - Class in com.oracle.truffle.tools.profiler
-
Implementation of a heap allocation monitor for Truffle languages built on top of the Truffle instrumentation framework.
- HeapSummary - Class in com.oracle.truffle.tools.profiler
-
Represents a summary of total and alive instances and object sizes.
I
- incrementTotalAllocations() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.Payload
-
Increases the number of total allocations recorded while the associated element was on the shadow stack.
- isCollecting() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- isCollecting() - Method in class com.oracle.truffle.tools.profiler.CPUTracer
- isCollecting() - Method in class com.oracle.truffle.tools.profiler.HeapMonitor
-
Returns
trueif the heap monitor is collecting data, elsefalse. - isCollecting() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
- isCompilationRoot() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
- isCompiled() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
-
Deprecated.Use
getTier() - isGatherAsyncStackTrace() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- isGatherSelfHitTimes() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
- isInlined() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
-
Returns
trueif this stack entry was executed in compiled mode and was inlined in a parent stack entry at the time when the stack trace was captured, elsefalse. - isInterpreted() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
-
Deprecated.Use
getTier() - isReallocation() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.AllocationEventInfo
- isRecursive() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
M
- MemoryTracer - Class in com.oracle.truffle.tools.profiler
-
Implementation of a memory tracing profiler for Truffle languages built on top of the Truffle instrumentation framework.
- MemoryTracer.AllocationEventInfo - Class in com.oracle.truffle.tools.profiler
-
Stores informatino about a single
AllocationEvent. - MemoryTracer.Payload - Class in com.oracle.truffle.tools.profiler
-
Used as a template parameter for
ProfilerNode. - missedSamples() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
-
Returns how may samples were missed, i.e.
P
- ProfilerNode<T> - Class in com.oracle.truffle.tools.profiler
-
Represents a node in the call tree built up by sampling the stack.
S
- setCollecting(boolean) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Controls whether the sampler is collecting data or not.
- setCollecting(boolean) - Method in class com.oracle.truffle.tools.profiler.CPUTracer
-
Controls whether the tracer is collecting data or not.
- setCollecting(boolean) - Method in class com.oracle.truffle.tools.profiler.HeapMonitor
-
Controls whether the
HeapMonitoris collecting data or not. - setCollecting(boolean) - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
-
Controls whether the tracer is collecting data or not.
- setDelay(long) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sets the delay period i.e.
- setFilter(SourceSectionFilter) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sets the
filterfor the sampler. - setFilter(SourceSectionFilter) - Method in class com.oracle.truffle.tools.profiler.CPUTracer
-
Sets the
filterfor the tracer. - setFilter(SourceSectionFilter) - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
-
Sets the
filterfor the sampler. - setGatherAsyncStackTrace(boolean) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sets whether or not to try to gather async stack trace information for each sample.
- setGatherSelfHitTimes(boolean) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sets whether or not to gather timestamp information for the element at the top of the stack for each sample.
- setPeriod(long) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sets the sampling period i.e.
- setSampleContextInitialization(boolean) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Enables or disables the sampling of the time spent during context initialization.
- setStackLimit(int) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sets the maximum amount of stack frames that are sampled.
- setStackLimit(int) - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
-
Sets the size of the shadow stack.
- StackTraceEntry - Class in com.oracle.truffle.tools.profiler
-
An entry in a stack trace, as returned by
CPUSampler.takeSample().
T
- takeMetaObjectSummary() - Method in class com.oracle.truffle.tools.profiler.HeapMonitor
-
Returns a summary of the current state of the heap grouped by language and meta object name.
- takeSample() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sample all threads and gather their current stack trace entries with a default time out.
- takeSample(long, TimeUnit) - Method in class com.oracle.truffle.tools.profiler.CPUSampler
-
Sample all threads and gather their current stack trace entries.
- takeSummary() - Method in class com.oracle.truffle.tools.profiler.HeapMonitor
-
Returns a summary of the current state of the heap.
- toStackTraceElement() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
-
Converts the stack trace entry to a Java stack trace element.
- toString() - Method in class com.oracle.truffle.tools.profiler.HeapSummary
- toString() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
All Classes and Interfaces|All Packages
CPUSamplerData.getContextIndex()to differentiate sampler data for different contexts.