Skip navigation links
A C D E F G H I L M N O P R S T V 

A

addStackFrame(HeapDump.ClassInstance, String, String, int, HeapDump.ObjectInstance...) - Method in class org.graalvm.tools.insight.heap.HeapDump.ThreadBuilder
Adds a StackTraceElement to the thread representation.

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.coverage.CoverageTracker
Closes the CoverageTracker.
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 HeapMonitor for 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.
close() - Method in class org.graalvm.tools.insight.heap.HeapDump.Builder
 
com.oracle.truffle.tools.coverage - package com.oracle.truffle.tools.coverage
Package containing classes implementing the Truffle Code Coverage Tracker.
com.oracle.truffle.tools.profiler - package com.oracle.truffle.tools.profiler
Package containing classes implementing the Truffle Profiler.
Config(SourceSectionFilter, boolean) - Constructor for class com.oracle.truffle.tools.coverage.CoverageTracker.Config
 
CountingCoverageNode - Class in com.oracle.truffle.tools.coverage
 
CoverageTracker - Class in com.oracle.truffle.tools.coverage
 
CoverageTracker.Config - Class in com.oracle.truffle.tools.coverage
Configuration for the CoverageTracker.
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.

D

dumpClass() - Method in class org.graalvm.tools.insight.heap.HeapDump.ClassBuilder
Dumps the class definition into the HeapDump.
dumpHeap(Consumer<HeapDump>) - Method in class org.graalvm.tools.insight.heap.HeapDump.Builder
Generates heap dump.
dumpHeap(long, Consumer<HeapDump>) - Method in class org.graalvm.tools.insight.heap.HeapDump.Builder
Generates heap dump with an explicitly specified time stamp.
dumpInstance() - Method in class org.graalvm.tools.insight.heap.HeapDump.ArrayBuilder
Dumps the gathered array values into the HeapDump.
dumpInstance() - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Dumps the gathered field values into the HeapDump.
dumpPrimitive(Object) - Method in class org.graalvm.tools.insight.heap.HeapDump
Dumps a primitive value (int, long, float, byte, char & other) into the HeapDump.
dumpString(String) - Method in class org.graalvm.tools.insight.heap.HeapDump
Builds new string instance in the HeapDump.
dumpThread() - Method in class org.graalvm.tools.insight.heap.HeapDump.ThreadBuilder
Records the prepared thread information into the HeapDump.

E

end() - Method in class com.oracle.truffle.tools.coverage.CoverageTracker
Stop tracking coverage.
equals(Object) - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
equals(Object) - Method in class org.graalvm.tools.insight.heap.HeapDump.ObjectInstance
 
execute(LSPServerAccessor, TruffleInstrument.Env, List<Object>) - Method in interface org.graalvm.tools.api.lsp.LSPCommand
Execute the command.

F

field(String, Class<?>) - Method in class org.graalvm.tools.insight.heap.HeapDump.ClassBuilder
Adds new field with given name and type to the class definition.
field(String, HeapDump.ClassInstance) - Method in class org.graalvm.tools.insight.heap.HeapDump.ClassBuilder
Adds new field with given name and type to the class definition.
find(Engine) - Static method in class com.oracle.truffle.tools.profiler.CPUSampler
Finds CPUSampler associated with given engine.
find(Engine) - Static method in class com.oracle.truffle.tools.profiler.CPUTracer
Finds CPUTracer associated with given engine.
find(Engine) - Static method in class com.oracle.truffle.tools.profiler.HeapMonitor
Returns the HeapMonitor associated with a given engine.
find(Engine) - Static method in class com.oracle.truffle.tools.profiler.MemoryTracer
Finds MemoryTracer associated 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
 
getCommands() - Method in interface org.graalvm.tools.api.lsp.LSPExtension
Get a list of all LSPCommands provided by the service.
getContext() - Method in class com.oracle.truffle.tools.profiler.CPUSamplerData
 
getCount() - Method in class com.oracle.truffle.tools.coverage.RootCoverage
This value is only available if the tracker config specified to count executions.
getCount() - Method in class com.oracle.truffle.tools.coverage.SectionCoverage
This value is only available if the tracker config specified to count executions.
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
 
getCoverage() - Method in class com.oracle.truffle.tools.coverage.CoverageTracker
 
getData() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
Get per-context profiling data.
getDocumentation(Object) - Method in class org.graalvm.tools.api.lsp.LSPLibrary
Get the documentation information about an object.
getEvents() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.Payload
 
getFactory() - Static method in class org.graalvm.tools.api.lsp.LSPLibrary
 
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
 
getName() - Method in class com.oracle.truffle.tools.coverage.RootCoverage
 
getName() - Method in interface org.graalvm.tools.api.lsp.LSPCommand
Get the name of the command.
getNumberOfTiers() - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
 
getOpenFileURI2LangId() - Method in interface org.graalvm.tools.api.lsp.LSPServerAccessor
Get a map of fileURIs to languageIds for all files currently open in the LSP client.
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
 
getRoots() - Method in class com.oracle.truffle.tools.coverage.SourceCoverage
 
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
 
getSectionCoverage() - Method in class com.oracle.truffle.tools.coverage.RootCoverage
 
getSelfHitCount() - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
 
getSelfHitTimes() - Method in class com.oracle.truffle.tools.profiler.CPUSampler.Payload
 
getSignature(Object) - Method in class org.graalvm.tools.api.lsp.LSPLibrary
Get the signature information about object representing a callable.
getSource() - Method in class com.oracle.truffle.tools.coverage.SourceCoverage
 
getSource(URI) - Method in interface org.graalvm.tools.api.lsp.LSPServerAccessor
Get the Source for a given URI.
getSourceSection() - Method in class com.oracle.truffle.tools.coverage.RootCoverage
 
getSourceSection() - Method in class com.oracle.truffle.tools.coverage.SectionCoverage
 
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
 
getTimeoutMillis() - Method in interface org.graalvm.tools.api.lsp.LSPCommand
Define a timeout for the execution of the command.
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
Returns true if the HeapMonitor has collected any data, else false.
hasData() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
 
hashCode() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
hashCode() - Method in class org.graalvm.tools.insight.heap.HeapDump.ObjectInstance
 
hasStackOverflowed() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
 
hasStackOverflowed() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
 
HeapDump - Class in org.graalvm.tools.insight.heap
Support for generating .hprof files in Java Profiler Heap Dump Format.
HeapDump.ArrayBuilder - Class in org.graalvm.tools.insight.heap
Fills data for new array to put into the HeapDump.
HeapDump.Builder - Class in org.graalvm.tools.insight.heap
Builder to construct content of the heap dump file.
HeapDump.ClassBuilder - Class in org.graalvm.tools.insight.heap
Builds structure of a new class for the HeapDump.
HeapDump.ClassInstance - Class in org.graalvm.tools.insight.heap
Represents a class in the HeapDump.
HeapDump.InstanceBuilder - Class in org.graalvm.tools.insight.heap
Fills data for new object instance to put into the HeapDump.
HeapDump.ObjectInstance - Class in org.graalvm.tools.insight.heap
Represents an object instance in the HeapDump.
HeapDump.ThreadBuilder - Class in org.graalvm.tools.insight.heap
Allows one to describe a state of a thread with local variables and record it in the generated HeapDump.
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

id() - Method in class org.graalvm.tools.insight.heap.HeapDump.ArrayBuilder
The ID assigned to the instance.
id() - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
The ID assigned to the instance.
ID - Static variable in class org.graalvm.tools.insight.Insight
The ID of the agent script instrument is "insight".
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.
Insight - Class in org.graalvm.tools.insight
Programmatic access to the Insight instrument.
Insight.SymbolProvider - Interface in org.graalvm.tools.insight
Additional provider of symbols for Insight scripts.
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 true if the heap monitor is collecting data, else false.
isCollecting() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
 
isCompilationRoot() - Method in class com.oracle.truffle.tools.profiler.StackTraceEntry
 
isCovered() - Method in class com.oracle.truffle.tools.coverage.RootCoverage
 
isCovered() - Method in class com.oracle.truffle.tools.coverage.SectionCoverage
 
isGatherSelfHitTimes() - Method in class com.oracle.truffle.tools.profiler.CPUSampler
 
isReallocation() - Method in class com.oracle.truffle.tools.profiler.MemoryTracer.AllocationEventInfo
 
isRecursive() - Method in class com.oracle.truffle.tools.profiler.ProfilerNode
 

L

LSPCommand - Interface in org.graalvm.tools.api.lsp
Command interface provided by a LSPExtension.
LSPExtension - Interface in org.graalvm.tools.api.lsp
Service interface that Truffle instruments can provide to extend the GraalLS with additional commands.
LSPLibrary - Class in org.graalvm.tools.api.lsp
LSP-specific message library.
LSPServerAccessor - Interface in org.graalvm.tools.api.lsp
Provides access to the GraalLS from within LSPExtensions.

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.

N

names() - Method in class org.graalvm.tools.insight.heap.HeapDump.ClassInstance
Immutable sorted set of field names this class has.
newArray(int) - Method in class org.graalvm.tools.insight.heap.HeapDump
Starts building an object array.
newClass(String) - Method in class org.graalvm.tools.insight.heap.HeapDump
Starts building new class for the HeapDump.
newHeapBuilder(OutputStream) - Static method in class org.graalvm.tools.insight.heap.HeapDump
Starts generating new .hprof file.
newInstance(HeapDump.ClassInstance) - Method in class org.graalvm.tools.insight.heap.HeapDump
Starts building an instance of given class.
newThread(String) - Method in class org.graalvm.tools.insight.heap.HeapDump
Starts building new thread/event with a stacktrace and local variables.

O

onEnter(VirtualFrame) - Method in class com.oracle.truffle.tools.coverage.CountingCoverageNode
 
onTimeout(List<Object>) - Method in interface org.graalvm.tools.api.lsp.LSPCommand
Fallback behavior in case the command's execution exceeded the timeout.
org.graalvm.tools.api.lsp - package org.graalvm.tools.api.lsp
API for LSP backend.
org.graalvm.tools.insight - package org.graalvm.tools.insight
Write instruments in dynamic languages with GraalVM Insight.
org.graalvm.tools.insight.heap - package org.graalvm.tools.insight.heap
Support for generating .hprof files in Java Profiler Heap Dump Format and a TruffleInstrument to capture heap dumps from Truffle languages.

P

ProfilerNode<T> - Class in com.oracle.truffle.tools.profiler
Represents a node in the call tree built up by sampling the stack.
put(int, HeapDump.ObjectInstance) - Method in class org.graalvm.tools.insight.heap.HeapDump.ArrayBuilder
Puts reference to another object into the array.
put(String, HeapDump.ObjectInstance) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts reference to another object as a value of the field.
putBoolean(String, boolean) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.
putByte(String, byte) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.
putChar(String, char) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.
putDouble(String, double) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.
putFloat(String, float) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.
putInt(String, int) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.
putLong(String, long) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.
putShort(String, short) - Method in class org.graalvm.tools.insight.heap.HeapDump.InstanceBuilder
Puts value into a field.

R

resetCoverage() - Method in class com.oracle.truffle.tools.coverage.CoverageTracker
Destructive read of the coverage data thus far (i.e.
RootCoverage - Class in com.oracle.truffle.tools.coverage
Coverage data of a particular root.

S

SectionCoverage - Class in com.oracle.truffle.tools.coverage
Coverage data of a particular SourceSection.
sendCustomNotification(String, Object) - Method in interface org.graalvm.tools.api.lsp.LSPServerAccessor
Instruct the GraalLS to send a custom notification to the LSP client.
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 HeapMonitor is 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 filter for the sampler.
setFilter(SourceSectionFilter) - Method in class com.oracle.truffle.tools.profiler.CPUTracer
Sets the filter for the tracer.
setFilter(SourceSectionFilter) - Method in class com.oracle.truffle.tools.profiler.MemoryTracer
Sets the filter for the sampler.
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.
SourceCoverage - Class in com.oracle.truffle.tools.coverage
Coverage data of a particular Source.
StackTraceEntry - Class in com.oracle.truffle.tools.profiler
An entry in a stack trace, as returned by CPUSampler.takeSample().
start(CoverageTracker.Config) - Method in class com.oracle.truffle.tools.coverage.CoverageTracker
Start coverage tracking with the given config.
symbolsWithValues() - Method in interface org.graalvm.tools.insight.Insight.SymbolProvider
Map with symbol names and their interop values.

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

V

VERSION - Static variable in class org.graalvm.tools.insight.Insight
Version of the Insight instrument.
A C D E F G H I L M N O P R S T V 
Skip navigation links