Uses of Interface
org.eclipse.mat.snapshot.ISnapshot
Package
Description
This provides the parser for IBM Diagnostic Tooling Framework for Java (DTFJ) dumps,
and is just a parser extension, not an Application Programming Interface (API).
Parser for HPROF dumps,
just a parser extension, not an Application Programming Interface (API).
Extension point interfaces for HPROF dumps.
These are general queries.
Code for reading data from collections found in a snapshot.
These are queries for Collection classes.
These are queries for whole components (class loaders and packages).
These are queries for debugging Eclipse based applications.
These are queries for examining objects subject to finalization.
These are queries for the Jetty web server.
These are queries for examining OSGi bundles.
These are utilities for the OSGi bundle queries.
These are queries for Threads.
These are utilities for Eclipse OSGi bundle queries.
Code for reading data from collections found in a snapshot.
Collects arguments for queries.
These are queries for dominator tree and paths to/from garbage collection roots.
Links class names to the class source in an Eclipse IDE, not an Application Programming Interface (API).
These are queries for snapshots generated by JRuby applications.
Interfaces for handling indexes.
Implementations for building the snapshot (not API).
Object Query Language (OQL) (not API).
Object Query Language (OQL) compiler (not API).
Utilities for performing basic operations on the snapshot (not API).
The implementation of key snapshot objects such as representing classes, arrays, and objects in the snapshot.
The Snapshot API, a VM independent way of looking at a snapshot of the state of objects in a heap.
Interfaces that extend the information extracted from heap dumps like threads, name resolvers etc.
Snapshot entities, for example class, instances, class loaders, fields, GC roots.
Utilities to develop heap dump queries.
Examine list of queries and query history - user interface (not API).
Supplementary actions to open a snapshot, copy to clipboard, open icon assist and so on - user interface (not API).
Eclipse editor for everything to do with snapshots - user interface (not API).
Configuration provider to assign content assist to the SourceViewer.
Content assist for the Object Query Language pane, including suggesting
class names and highlighting keywords.
The summary view of the snapshot and also all the messages - user interface (not API).
Utility classes for toolbars, popup menu, searching on typing - user interface (not API).
-
Uses of ISnapshot in org.eclipse.mat.dtfj
-
Uses of ISnapshot in org.eclipse.mat.hprof
Modifier and TypeMethodDescriptionvoid
HprofRandomAccessParser.read
(int objectId, long position, ISnapshot dump, IIndexReader.IOne2LongIndex o2hprof) HprofRandomAccessParser.resolveClassHierarchy
(ISnapshot snapshot, IClass clazz) -
Uses of ISnapshot in org.eclipse.mat.hprof.extension
-
Uses of ISnapshot in org.eclipse.mat.inspections
Modifier and TypeFieldDescriptionComparisonReport.baseline
DeltaHistogram.baseline
FindLeaksQuery2.baseline
LeakHunterQuery2.baseline
SimpleComparison.baseline
BigDropsQuery.snapshot
BiggestObjectsPieQuery.snapshot
ClassLoaderExplorerQuery.snapshot
ClassReferrersQuery.snapshot
ComparisonReport.snapshot
CustomizedRetainedSetQuery.snapshot
DuplicatedClassesQuery.snapshot
FinalizerReferenceStatQuery.snapshot
FindLeaksQuery.snapshot
FindLeaksQuery2.snapshot
FindStringsQuery.snapshot
GCRootsQuery.snapshot
GroupByValueQuery.snapshot
HeapDumpInfoQuery.snapshot
HistogramQuery.snapshot
ImmediateDominatorsQuery.snapshot
LeakHunterQuery.snapshot
ObjectListQuery.snapshot
OQLQuery.snapshot
PhantomReferenceStatQuery.snapshot
ReferenceLeakQuery.snapshot
ReferenceQuery.snapshot
RetainedSetQuery.snapshot
SimpleComparison.snapshot
SoftReferenceStatQuery.snapshot
SystemPropertiesQuery.snapshot
TopConsumers2Query.snapshot
TopConsumersQuery.snapshot
WasteInCharArraysQuery.snapshot
WeakReferenceStatQuery.snapshot
Modifier and TypeMethodDescriptionstatic IResult
ReferenceQuery.execute
(String className, ISnapshot snapshot, String labelHistogramReferenced, String labelHistogramRetained, String labelHistogramStronglyRetainedReferents, IProgressListener listener) Important: the className must point to java.lang.ref.Reference or one of its subclasses.static CompositeResult
ReferenceQuery.execute
(ArrayInt instanceSet, SetInt referentSet, ISnapshot snapshot, String labelHistogramReferenced, String labelHistogramRetained, String labelHistogramStronglyRetainedReferents, String referentField, IProgressListener listener) static CompositeResult
ReferenceQuery.execute
(ArrayInt instanceSet, SetInt referentSet, ISnapshot snapshot, String labelHistogramReferenced, String labelHistogramRetained, String labelHistogramStronglyRetainedReferents, IProgressListener listener) static void
InspectionAssert.heapFormatIsNot
(ISnapshot snapshot, String... heapFormat) ModifierConstructorDescriptionInboundClasses
(ISnapshot snapshot, int[] objectIds) OutboundClasses
(ISnapshot snapshot, int[] objectIds) -
Uses of ISnapshot in org.eclipse.mat.inspections.collectionextract
Modifier and TypeMethodDescriptionAbstractExtractedCollection.getSnapshot()
IMapExtractor.EntryObject.getSnapshot()
-
Uses of ISnapshot in org.eclipse.mat.inspections.collections
Modifier and TypeFieldDescriptionArrayFillRatioQuery.snapshot
ArraysBySizeQuery.snapshot
CollectionFillRatioQuery.snapshot
CollectionsBySizeQuery.snapshot
ExtractListValuesQuery.snapshot
HashEntriesQuery.snapshot
HashSetValuesQuery.snapshot
MapCollisionRatioQuery.snapshot
PrimitiveArraysWithAConstantValueQuery.snapshot
-
Uses of ISnapshot in org.eclipse.mat.inspections.component
-
Uses of ISnapshot in org.eclipse.mat.inspections.eclipse
-
Uses of ISnapshot in org.eclipse.mat.inspections.finalizer
-
Uses of ISnapshot in org.eclipse.mat.inspections.jetty
Modifier and TypeMethodDescriptionvoid
JettyRequestResolver.complement
(ISnapshot snapshot, IThreadInfo thread, int[] javaLocals, int thisJavaLocal, IProgressListener listener) -
Uses of ISnapshot in org.eclipse.mat.inspections.osgi
-
Uses of ISnapshot in org.eclipse.mat.inspections.osgi.model
Modifier and TypeMethodDescriptionstatic IBundleReader
BundleReaderFactory.getBundleReader
(ISnapshot snapshot) Check for the type of framework and return corresponding IBundleReaderModifierConstructorDescriptionEquinoxBundleReader
(ISnapshot snapshot) EquinoxBundleReader2
(ISnapshot snapshot) -
Uses of ISnapshot in org.eclipse.mat.inspections.threads
-
Uses of ISnapshot in org.eclipse.mat.inspections.util
Modifier and TypeMethodDescription -
Uses of ISnapshot in org.eclipse.mat.internal.collectionextract
Modifier and TypeMethodDescriptionstatic int[]
ExtractionUtils.referenceArrayToIds
(ISnapshot snapshot, long[] referenceArray) static JdkVersion
ExtractionUtils.resolveVersion
(ISnapshot snapshot) -
Uses of ISnapshot in org.eclipse.mat.internal.snapshot
Modifier and TypeMethodDescriptionstatic final ArgumentFactory
static final ArgumentFactory
HeapObjectArgumentFactory.build
(ISnapshot snapshot, IHeapObjectArgument argument) static HeapObjectParamArgument
ArgumentParser.consumeHeapObjects
(ISnapshot snapshot, String line) static HeapObjectParamArgument
ArgumentParser.consumeHeapObjects
(ISnapshot snapshot, String[] args, ParsePosition pos) ModifierConstructorDescriptionHeapObjectContextArgument
(ISnapshot snapshot, List<IContextObject> context, String label) HeapObjectParamArgument
(ISnapshot snapshot) SnapshotQueryContext
(ISnapshot snapshot) -
Uses of ISnapshot in org.eclipse.mat.internal.snapshot.inspections
Modifier and TypeFieldDescriptionDominatorQuery.snapshot
MultiplePath2GCRootsQuery.snapshot
Path2GCRootsQuery.snapshot
CompareTablesQuery.snapshots
Modifier and TypeMethodDescriptionstatic DominatorQuery.Tree
DominatorQuery.Factory.create
(ISnapshot snapshot, int[] roots, IProgressListener listener) MultiplePath2GCRootsQuery.create
(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection) MultiplePath2GCRootsQuery.create
(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection, boolean mergeFromRoots, IProgressListener listener) Creates a tree by class.MultiplePath2GCRootsQuery.create
(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection, IProgressListener listener) static DominatorQuery.Tree
DominatorQuery.Factory.groupByClass
(ISnapshot snapshot, int[] roots, IProgressListener listener) static DominatorQuery.Tree
DominatorQuery.Factory.groupByClassLoader
(ISnapshot snapshot, int[] roots, IProgressListener listener) static DominatorQuery.Tree
DominatorQuery.Factory.groupByPackage
(ISnapshot snapshot, int[] roots, IProgressListener listener) ModifierConstructorDescriptionTree
(ISnapshot snapshot, int[] roots, DominatorQuery.Grouping groupedBy) Tree
(ISnapshot snapshot, int objectId, IPathsFromGCRootsComputer computer) -
Uses of ISnapshot in org.eclipse.mat.jdt
-
Uses of ISnapshot in org.eclipse.mat.jruby.resolver
Modifier and TypeMethodDescriptionvoid
JRubyScriptResolver.complement
(ISnapshot snapshot, IThreadInfo thread, int[] localVars, int currentVarId, IProgressListener listener) void
RubyStacktraceDumper.complement
(ISnapshot snapshot, IThreadInfo thread, int[] javaLocals, int thisJavaLocal, IProgressListener listener) RubyStacktraceDumper.getAllStackTraces
(ISnapshot model) Extracts the Ruby stack trace for all active Ruby threads in the given heap dump. -
Uses of ISnapshot in org.eclipse.mat.parser
-
Uses of ISnapshot in org.eclipse.mat.parser.internal
Modifier and TypeClassDescriptionfinal class
The implementation of theISnapshot
representing the entire heap dump.Modifier and TypeMethodDescriptionSnapshotFactoryImpl.openSnapshot
(File file, Map<String, String> args, IProgressListener listener) -
Uses of ISnapshot in org.eclipse.mat.parser.internal.oql
Modifier and TypeMethodDescriptionOQLQueryImpl.execute
(ISnapshot snapshot, IProgressListener monitor) -
Uses of ISnapshot in org.eclipse.mat.parser.internal.oql.compiler
-
Uses of ISnapshot in org.eclipse.mat.parser.internal.snapshot
Modifier and TypeMethodDescriptionint
ObjectMarker.markSingleThreaded
(ExcludedReferencesDescriptor[] excludeSets, ISnapshot snapshot) -
Uses of ISnapshot in org.eclipse.mat.parser.model
Modifier and TypeMethodDescriptionlong
XClassHistogramRecord.calculateRetainedSize
(ISnapshot snapshot, boolean calculateIfNotAvailable, boolean approximation, IProgressListener listener) long
XClassLoaderHistogramRecord.calculateRetainedSize
(ISnapshot snapshot, boolean calculateIfNotAvailable, boolean approximation, IProgressListener listener) ClassLoaderImpl.doGetDefinedClasses
(ISnapshot dump, int classLoaderId) Gets the classes defined by a given loaderstatic final long
ClassLoaderImpl.doGetRetainedHeapSizeOfObjects
(ISnapshot dump, int classLoaderId, boolean calculateIfNotAvailable, boolean calculateMinRetainedSize, IProgressListener listener) Calculates the retained size of all classes and instances of the class loaded by a class loader.void
AbstractObjectImpl.setSnapshot
(ISnapshot dump) Set the snapshot for an object.void
ClassImpl.setSnapshot
(ISnapshot dump) -
Uses of ISnapshot in org.eclipse.mat.snapshot
Modifier and TypeMethodDescriptionSnapshotFactory.Implementation.openSnapshot
(File file, Map<String, String> arguments, IProgressListener listener) Opens a snapshotstatic ISnapshot
SnapshotFactory.openSnapshot
(File file, Map<String, String> arguments, IProgressListener listener) Create a snapshot Object from a file representation of a snapshot.static ISnapshot
SnapshotFactory.openSnapshot
(File file, IProgressListener listener) Create a snapshot Object from a file representation of a snapshot.Modifier and TypeMethodDescriptionlong
ClassHistogramRecord.calculateRetainedSize
(ISnapshot snapshot, boolean calculateIfNotAvailable, boolean approximation, IProgressListener listener) Find out the retained sizelong
ClassLoaderHistogramRecord.calculateRetainedSize
(ISnapshot snapshot, boolean calculateIfNotAvailable, boolean approximation, IProgressListener listener) Find out the retained sizestatic void
Dispose the whole snapshot.void
Free resources when the snapshot is no longer needed.IOQLQuery.execute
(ISnapshot snapshot, IProgressListener monitor) Execute the OQL query.Histogram.groupBySuperclass
(ISnapshot snapshot) implementation as result tree grouped by superclassvoid
UnreachableObjectsHistogram.setSnapshot
(ISnapshot snapshot) ModifierConstructorDescriptionDominatorsSummary
(DominatorsSummary.ClassDominatorRecord[] classDominatorRecords, ISnapshot snapshot) MultiplePathsFromGCRootsClassRecord
(IClass clazz, int level, boolean fromRoots, ISnapshot snapshot) ConstructorMultiplePathsFromGCRootsRecord
(int objectId, int level, ISnapshot snapshot) A constructor to create the recordSuperclassTree
(Histogram histogram, ISnapshot snapshot) -
Uses of ISnapshot in org.eclipse.mat.snapshot.extension
Modifier and TypeMethodDescriptionvoid
IRequestDetailsResolver.complement
(ISnapshot snapshot, IThreadInfo thread, int[] javaLocals, int thisJavaLocal, IProgressListener listener) Add extra details -
Uses of ISnapshot in org.eclipse.mat.snapshot.model
Modifier and TypeMethodDescriptionIObject.getSnapshot()
Returns the snapshot from which this object has been read.ModifierConstructorDescriptionNamedReference
(ISnapshot snapshot, long address, String name) Constructs a reference to a Java object with a description of why the reference occurred.ObjectReference
(ISnapshot snapshot, long address) Create a reference to an object based on its address but in a form where the object id can be found.PseudoReference
(ISnapshot snapshot, long address, String name) Create a PseudoReferenceThreadToLocalReference
(ISnapshot snapshot, long address, String name, int localObjectId, GCRootInfo[] gcRootInfo) Create a thread to local reference -
Uses of ISnapshot in org.eclipse.mat.snapshot.query
Modifier and TypeMethodDescriptionstatic TQuantize
TQuantize.defaultValueDistribution
(ISnapshot snapshot, IResultTable base, TQuantize.Target target) A convenience methods to aggregate a table by one of the well-known targets and create the sum for all other columns.static final URL
Construct an icon URL for the current object pointing to the right image and containing the right GC decoration.static final URL
Construct an inbound reference icon URL for the current object pointing to the right image and containing the right GC decoration.static SnapshotQuery
Factory method to create a query by name.static final URL
Construct an outbound reference icon URL for the current object pointing to the right image and containing the right GC decoration.static SnapshotQuery
Factory method to create a query by command line, i.e.static TQuantize.Builder
TQuantize.valueDistribution
(ISnapshot snapshot, IResultTable base, int... columns) Creates aTQuantize
object which aggregates the table by the value of the columns.static TQuantize.Builder
TQuantize.valueDistribution
(ISnapshot snapshot, IResultTable base, TQuantize.Target target) Creates aTQuantize
object which aggregates the table by one of the well-known targets, e.g.ModifierConstructorDescriptionConstruct a inbound references treeConstruct a outbound references treePieFactory
(ISnapshot snapshot) Create a pie factory for the given snapshot.PieFactory
(ISnapshot snapshot, long pieSize) Create a pie factory for the given snapshot.RetainedSizeDerivedData
(ISnapshot snaphot) Initial constructor. -
Uses of ISnapshot in org.eclipse.mat.ui.internal.browser
Modifier and TypeMethodDescriptionvoid
Policy.fillInObjectArguments
(ISnapshot snapshot, QueryDescriptor query, ArgumentSet set) -
Uses of ISnapshot in org.eclipse.mat.ui.snapshot.actions
-
Uses of ISnapshot in org.eclipse.mat.ui.snapshot.editor
Modifier and TypeMethodDescriptionISnapshotEditorInput.getBaseline()
ISnapshotEditorInput.getSnapshot()
Modifier and TypeMethodDescriptionvoid
ISnapshotEditorInput.IChangeListener.onBaselineLoaded
(ISnapshot snapshot) void
ISnapshotEditorInput.IChangeListener.onSnapshotLoaded
(ISnapshot snapshot) void
ISnapshotEditorInput.setBaseline
(ISnapshot snapshot) -
Uses of ISnapshot in org.eclipse.mat.ui.snapshot.panes.oql
ModifierConstructorDescriptionOQLTextViewerConfiguration
(ISnapshot snapshot, Color comment, Color keyword) Associates snapshot at this object. -
Uses of ISnapshot in org.eclipse.mat.ui.snapshot.panes.oql.contentAssist
Modifier and TypeMethodDescriptionvoid
FieldsSuggestionProvider.setClassesSuggestions
(ISnapshot snapshot, IContextInformation[] classSuggestions) ModifierConstructorDescriptionClassesSuggestionProvider
(ISnapshot snapshot) Builds this object passing the snapshotFieldsSuggestionProvider
(ISnapshot snapshot) Builds this object passing the snapshotPropertySuggestionProvider
(ISnapshot snapshot) Builds this object passing the snapshot -
Uses of ISnapshot in org.eclipse.mat.ui.snapshot.views
Modifier and TypeMethodDescriptionvoid
SnapshotOutlinePage.HeapEditorOutlinePage.onBaselineLoaded
(ISnapshot snapshot) void
SnapshotOutlinePage.HeapEditorOutlinePage.onSnapshotLoaded
(ISnapshot snapshot) -
Uses of ISnapshot in org.eclipse.mat.ui.util
Modifier and TypeMethodDescriptionboolean
QueryContextMenu.anyInstances
(ISnapshot snapshot, String cn) void
IPolicy.fillInObjectArguments
(ISnapshot snapshot, QueryDescriptor query, ArgumentSet set) boolean
QueryContextMenu.instanceOf
(ISnapshot snapshot, int o, String className) Instanceof test which works for simple objects and arraysboolean
QueryContextMenu.instanceOf
(ISnapshot snapshot, IClass cls, String className) Instanceof test which works for simple object and array types