Uses of Class
org.eclipse.mat.SnapshotException
Package
Description
Package for general Memory Analyzer exceptions, usable from any plug-in.
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).
Generator of HPROF dumps from other running processes on the system,
just a acquire dumps extension, not an Application Programming Interface (API).
Extension point interfaces for HPROF dumps.
Create IBM dumps - this is an internal package not intended as an Application Programming Interface (API) except as an extension.
These are general queries.
Code for reading data from collections found in a snapshot.
These are queries for debugging Eclipse based applications.
These are queries for the Jetty web server.
These are utilities for the OSGi bundle queries.
These are queries for Threads.
These are queries for the application servers Wildfly and JBoss Enterprise
Application Platform.
Support for collecting arguments for acquiring heap dumps from running programs.
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.
These are queries for snapshots generated by JRuby applications.
Interfaces for handling indexes.
Implementations 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.
Package for examining and controlling results of running queries.
Value or linear frequency distribution histograms.
A way of controlling the detail given by the output of a query.
Package for getting a list of queries and examining their capabilities and setting them up.
Controls building of reports from XML report definitions.
Internal classes for controlling building of reports from XML report definitions (not API).
The Snapshot API, a VM independent way of looking at a snapshot of the state of objects in a heap.
Classes to help get a snapshot from a current running process on the system.
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.
User interface plug-in definitions and query execution for UI components (not API).
Acquire heap dumps from other running processes - user interface (not API).
Examine list of queries and query history - user interface (not API).
Allows a user to specify arguments for a query - user interface (not API).
Utility classes for toolbars, popup menu, searching on typing - user interface (not API).
-
Uses of SnapshotException in org.eclipse.mat
Modifier and TypeMethodDescriptionstatic final SnapshotException
Wrap, if necessary, and return a SnapshotException. -
Uses of SnapshotException in org.eclipse.mat.dtfj
Modifier and TypeMethodDescriptionvoid
ThreadDetailsResolver.complementDeep
(IThreadInfo thread, IProgressListener listener) Add detailed DTFJ information, including native thread stack.void
ThreadDetailsResolver.complementShallow
(IThreadInfo thread, IProgressListener listener) Add basic DTFJ information.void
DTFJIndexBuilder.fill
(IPreliminaryIndex index, IProgressListener listener) <A> A
Returns extra data to be provided byISnapshot.getSnapshotAddons(Class addon)
.void
long[]
DTFJHeapObjectReader.readObjectArrayContent
(ObjectArrayImpl array, int offset, int length) Read some of the contents of an arrayDTFJHeapObjectReader.readPrimitiveArrayContent
(PrimitiveArrayImpl array, int offset, int length) Read some of the contents of an array -
Uses of SnapshotException in org.eclipse.mat.hprof
Modifier and TypeMethodDescriptionvoid
HprofParserHandlerImpl.beforePass2
(IProgressListener monitor) void
IHprofParserHandler.beforePass2
(IProgressListener monitor) void
ExportHprof.dumpThreadRoots
(DataOutput os, IClass cls) void
HprofIndexBuilder.fill
(IPreliminaryIndex preliminary, IProgressListener listener) <A> A
Returns extra data to be provided byISnapshot.getSnapshotAddons(Class addon)
.HprofRandomAccessParser.read
(int objectId, long position, ISnapshot dump, IIndexReader.IOne2LongIndex o2hprof) void
void
long[]
HprofHeapObjectReader.readObjectArrayContent
(ObjectArrayImpl array, int offset, int length) HprofHeapObjectReader.readPrimitiveArrayContent
(PrimitiveArrayImpl array, int offset, int length) HprofRandomAccessParser.resolveClassHierarchy
(ISnapshot snapshot, IClass clazz) -
Uses of SnapshotException in org.eclipse.mat.hprof.acquire
Modifier and TypeMethodDescriptionJMapHeapDumpProvider.acquireDump
(VmInfo info, File preferredLocation, IProgressListener listener) JMapHeapDumpProvider.getAvailableVMs
(IProgressListener listener) -
Uses of SnapshotException in org.eclipse.mat.hprof.extension
Modifier and TypeMethodDescription<A> A
Returns addon information of certain type if such information is attached to the HPROF snapshotvoid
IParsingEnhancer.onParsingCompleted
(SnapshotInfo snapshotInfo) The method within the process of initially parsing a heap dump, just after the snapshot and SnapshotInfo objects have been created. -
Uses of SnapshotException in org.eclipse.mat.ibmvm.acquire
Modifier and TypeMethodDescriptionIBMDumpProvider.acquireDump
(VmInfo info, File preferredLocation, IProgressListener listener) IBMExecDumpProvider.acquireDump
(VmInfo info, File preferredLocation, IProgressListener listener) IBMJavaDumpProvider.jextract
(File preferredDump, boolean compress, List<File> dumps, File udir, File javahome, IProgressListener listener) -
Uses of SnapshotException in org.eclipse.mat.inspections
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 ObjectReference
ReferenceQuery.getReferent
(IInstance instance) -
Uses of SnapshotException in org.eclipse.mat.inspections.collectionextract
Modifier and TypeMethodDescriptionstatic AbstractExtractedCollection<?,
?> CollectionExtractionUtils.extractCollection
(IObject collection) Extracts from the heap the content of objects which represent a collection.static AbstractExtractedCollection<?,
?> CollectionExtractionUtils.extractCollection
(IObject collection, String specificClass, ICollectionExtractor preferredExtractor) Extracts from the heap the content of objects which represent a collection.ICollectionExtractor.extractEntries
(IObject collection) Extracts the array containing the collection contentint[]
ICollectionExtractor.extractEntryIds
(IObject collection) Returns the object ids (int) for all objects which are contained in the collectionstatic ExtractedCollection
CollectionExtractionUtils.extractList
(IObject collection) Extracts from the heap the content of objects which represent a collection.static ExtractedMap
CollectionExtractionUtils.extractMap
(IObject collection) Extracts from the heap the content of objects which represent a Map.static ExtractedMap
CollectionExtractionUtils.extractMap
(IObject collection, String specificClass, IMapExtractor preferredExtractor) Extracts from the heap the content of objects which represent a Map.IMapExtractor.extractMapEntries
(IObject collection) Extracts the contents of a map (i.e.static ICollectionExtractor
CollectionExtractionUtils.findCollectionExtractor
(String className) Finds a proper ICollectionExtractor for the object passed as parameterstatic ICollectionExtractor
CollectionExtractionUtils.findCollectionExtractor
(IObject collection) Finds a proper ICollectionExtractor for the object passed as parameterExtractedMap.getByKeyIdentity
(IObject key) Gets an object from the Map, searching by the key.ICollectionExtractor.getCapacity
(IObject collection) Return the capacity of the collection, if applicableExtractedMap.getCollisionRatio()
Get the ratio of collisions inside the map.IMapExtractor.getCollisionRatio
(IObject collection) Calculates the collision ratio in the collection.ICollectionExtractor.getFillRatio
(IObject collection) Calculate the fill ratio of a collectionAbstractExtractedCollection.getGCRootInfo()
IMapExtractor.EntryObject.getGCRootInfo()
ExtractedCollection.getNumberOfNotNullElements()
Get the number of non-null elements contained in the collectionICollectionExtractor.getNumberOfNotNullElements
(IObject collection) Returns the number of non-null elements in the collection.Extract the size of the collection.AbstractExtractedCollection.resolveValue
(String field) IMapExtractor.EntryObject.resolveValue
(String field) -
Uses of SnapshotException in org.eclipse.mat.inspections.eclipse
Modifier and TypeMethodDescription -
Uses of SnapshotException in org.eclipse.mat.inspections.jetty
Modifier and TypeMethodDescriptionvoid
JettyRequestResolver.complement
(ISnapshot snapshot, IThreadInfo thread, int[] javaLocals, int thisJavaLocal, IProgressListener listener) -
Uses of SnapshotException in org.eclipse.mat.inspections.osgi.model
Modifier and TypeMethodDescriptionEquinoxBundleReader.getBundle
(BundleDescriptor descriptor) EquinoxBundleReader2.getBundle
(BundleDescriptor descriptor) IBundleReader.getBundle
(BundleDescriptor descriptor) Load the bundle by its descriptorOSGiModel.getBundle
(BundleDescriptor descriptor) Get bundle by its descriptorstatic IBundleReader
BundleReaderFactory.getBundleReader
(ISnapshot snapshot) Check for the type of framework and return corresponding IBundleReaderEquinoxBundleReader.readOSGiModel
(IProgressListener listener) EquinoxBundleReader2.readOSGiModel
(IProgressListener listener) IBundleReader.readOSGiModel
(IProgressListener listener) get a model describing the OSGi framework -
Uses of SnapshotException in org.eclipse.mat.inspections.threads
Modifier and TypeMethodDescriptionvoid
ThreadDetailsResolver.complementDeep
(IThreadInfo thread, IProgressListener listener) void
ThreadDetailsResolver.complementShallow
(IThreadInfo thread, IProgressListener listener) static boolean
-
Uses of SnapshotException in org.eclipse.mat.inspections.wildfly
-
Uses of SnapshotException in org.eclipse.mat.internal.acquire
Modifier and TypeMethodDescriptionstatic final VmInfoDescriptor
VmInfoDescriptor.createDescriptor
(VmInfo vmInfo) -
Uses of SnapshotException in org.eclipse.mat.internal.collectionextract
Modifier and TypeMethodDescriptionArrayCollectionExtractor.extractEntries
(IObject coll) ConcurrentHashMapCollectionExtractor.extractEntries
(IObject coll) ConcurrentSkipListCollectionExtractor.extractEntries
(IObject coll) EmptyCollectionExtractor.extractEntries
(IObject coll) FieldArrayCollectionExtractor.extractEntries
(IObject coll) FieldSizedCapacityCollectionExtractor.extractEntries
(IObject coll) FieldSizedCollectionExtractor.extractEntries
(IObject coll) HashMapCollectionExtractor.extractEntries
(IObject coll) HashSetCollectionExtractor.extractEntries
(IObject coll) KeySetCollectionExtractor.extractEntries
(IObject coll) MATCollectionExtractor.extractEntries
(IObject collection) NoContentCollectionExtractor.extractEntries
(IObject coll) PairCollectionExtractor.extractEntries
(IObject coll) ReplicatedValueCollectionExtractor.extractEntries
(IObject coll) SetFromCollectionExtractor.extractEntries
(IObject collection) SingletonCollectionExtractor.extractEntries
(IObject coll) SingletonMapExtractor.extractEntries
(IObject coll) TreeMapCollectionExtractor.extractEntries
(IObject coll) ValuesCollectionExtractor.extractEntries
(IObject coll) WrapperCollectionExtractor.extractEntries
(IObject coll) int[]
ArrayCollectionExtractor.extractEntryIds
(IObject coll) int[]
ArrayListSubListCollectionExtractor.extractEntryIds
(IObject coll) int[]
ConcurrentHashMapCollectionExtractor.extractEntryIds
(IObject coll) int[]
ConcurrentSkipListCollectionExtractor.extractEntryIds
(IObject coll) int[]
ConcurrentSkipListSetCollectionExtractor.extractEntryIds
(IObject coll) int[]
EmptyCollectionExtractor.extractEntryIds
(IObject coll) int[]
FieldArrayCollectionExtractor.extractEntryIds
(IObject coll) int[]
FieldSizedCapacityCollectionExtractor.extractEntryIds
(IObject coll) int[]
FieldSizedCollectionExtractor.extractEntryIds
(IObject coll) int[]
HashMapCollectionExtractor.extractEntryIds
(IObject coll) int[]
HashSetCollectionExtractor.extractEntryIds
(IObject coll) int[]
IBM6ArrayListCollectionExtractor.extractEntryIds
(IObject coll) int[]
IdentityHashMapCollectionExtractor.extractEntryIds
(IObject idMap) int[]
KeySetCollectionExtractor.extractEntryIds
(IObject coll) int[]
LinkedListCollectionExtractor.extractEntryIds
(IObject list) int[]
MATCollectionExtractor.extractEntryIds
(IObject collection) int[]
NoContentCollectionExtractor.extractEntryIds
(IObject coll) int[]
Pair12CollectionExtractor.extractEntryIds
(IObject coll) int[]
PairCollectionExtractor.extractEntryIds
(IObject coll) int[]
RegularEnumSetExtractor.extractEntryIds
(IObject coll) int[]
ReplicatedValueCollectionExtractor.extractEntryIds
(IObject coll) int[]
SetFromCollectionExtractor.extractEntryIds
(IObject collection) int[]
SingletonCollectionExtractor.extractEntryIds
(IObject coll) int[]
SingletonMapExtractor.extractEntryIds
(IObject coll) int[]
TreeMapCollectionExtractor.extractEntryIds
(IObject treeMap) int[]
ValuesCollectionExtractor.extractEntryIds
(IObject coll) int[]
WrapperCollectionExtractor.extractEntryIds
(IObject coll) int[]
WrapperFieldCollectionExtractor.extractEntryIds
(IObject coll) int[]
WrapperFieldMapExtractor.extractEntryIds
(IObject coll) FieldSizeArrayMapExtractor.extractMapEntries
(IObject collection) FieldSizedCapacityMapExtractor.extractMapEntries
(IObject collection) HashSetCollectionExtractor.extractMapEntries
(IObject coll) IdentityHashMapCollectionExtractor.extractMapEntries
(IObject coll) RegularEnumSetExtractor.extractMapEntries
(IObject collection) SetFromCollectionExtractor.extractMapEntries
(IObject collection) SingletonMapExtractor.extractMapEntries
(IObject coll) TreeSetArrayCollectionExtractor.extractMapEntries
(IObject coll) WrapperSetFromMapExtractor.extractMapEntries
(IObject collection) static IInstance
ExtractionUtils.followOnlyNonArrayOutgoingReference
(IObject obj) Get the only non-array object field from the object.static IObject
ExtractionUtils.followOnlyOutgoingReferencesExceptLast
(String field, IObject obj) Walks the only non-array object field from the object, stopping at the second-last.HashMapCollectionExtractor.getBackingArray
(IObject coll) ArrayCollectionExtractor.getCapacity
(IObject coll) ArrayListSubListCollectionExtractor.getCapacity
(IObject coll) ConcurrentHashMapCollectionExtractor.getCapacity
(IObject collection) ConcurrentSkipListCollectionExtractor.getCapacity
(IObject coll) EmptyCollectionExtractor.getCapacity
(IObject coll) FieldArrayCollectionExtractor.getCapacity
(IObject coll) FieldSizedCapacityCollectionExtractor.getCapacity
(IObject coll) FieldSizedCapacityMapExtractor.getCapacity
(IObject coll) FieldSizedCollectionExtractor.getCapacity
(IObject coll) HashMapCollectionExtractor.getCapacity
(IObject coll) HashSetCollectionExtractor.getCapacity
(IObject coll) IdentityHashMapCollectionExtractor.getCapacity
(IObject collection) Gets the capacity of the map.MapCollectionExtractorBase.getCapacity
(IObject coll) MATArrayBig.getCapacity
(IObject coll) MATCollectionExtractor.getCapacity
(IObject collection) NoContentCollectionExtractor.getCapacity
(IObject coll) PairCollectionExtractor.getCapacity
(IObject coll) ReplicatedValueCollectionExtractor.getCapacity
(IObject coll) SetFromCollectionExtractor.getCapacity
(IObject collection) SingletonCollectionExtractor.getCapacity
(IObject coll) SingletonMapExtractor.getCapacity
(IObject coll) WrapperCollectionExtractor.getCapacity
(IObject coll) ConcurrentSkipListCollectionExtractor.getCollisionRatio
(IObject coll) EmptyMapExtractor.getCollisionRatio
(IObject collection) FieldSizeArrayMapExtractor.getCollisionRatio
(IObject collection) FieldSizedCapacityMapExtractor.getCollisionRatio
(IObject coll) HashedMapCollectionExtractorBase.getCollisionRatio
(IObject coll) HashSetCollectionExtractor.getCollisionRatio
(IObject coll) IdentityHashMapCollectionExtractor.getCollisionRatio
(IObject coll) Complete guess as to collision ratio.RegularEnumSetExtractor.getCollisionRatio
(IObject collection) SetFromCollectionExtractor.getCollisionRatio
(IObject coll) SingletonMapExtractor.getCollisionRatio
(IObject coll) WrapperMapExtractor.getCollisionRatio
(IObject coll) WrapperSetFromMapExtractor.getCollisionRatio
(IObject collection) ArrayCollectionExtractor.getFillRatio
(IObject coll) ConcurrentSkipListCollectionExtractor.getFillRatio
(IObject coll) EmptyCollectionExtractor.getFillRatio
(IObject coll) FieldArrayCollectionExtractor.getFillRatio
(IObject coll) FieldSizedCollectionExtractor.getFillRatio
(IObject coll) HashedMapCollectionExtractorBase.getFillRatio
(IObject coll) HashSetCollectionExtractor.getFillRatio
(IObject coll) IdentityHashMapCollectionExtractor.getFillRatio
(IObject coll) MATArrayBig.getFillRatio
(IObject coll) MATCollectionExtractor.getFillRatio
(IObject coll) NoContentCollectionExtractor.getFillRatio
(IObject coll) PairCollectionExtractor.getFillRatio
(IObject coll) ReplicatedValueCollectionExtractor.getFillRatio
(IObject coll) SetFromCollectionExtractor.getFillRatio
(IObject collection) SingletonCollectionExtractor.getFillRatio
(IObject coll) SingletonMapExtractor.getFillRatio
(IObject coll) TreeMapCollectionExtractor.getFillRatio
(IObject coll) WrapperCollectionExtractor.getFillRatio
(IObject coll) ArrayCollectionExtractor.getNumberOfNotNullElements
(IObject coll) ConcurrentHashMapCollectionExtractor.getNumberOfNotNullElements
(IObject collection) ConcurrentSkipListCollectionExtractor.getNumberOfNotNullElements
(IObject coll) EmptyCollectionExtractor.getNumberOfNotNullElements
(IObject collection) FieldArrayCollectionExtractor.getNumberOfNotNullElements
(IObject coll) FieldSizedCapacityCollectionExtractor.getNumberOfNotNullElements
(IObject collection) FieldSizedCollectionExtractor.getNumberOfNotNullElements
(IObject collection) HashMapCollectionExtractor.getNumberOfNotNullElements
(IObject collection) HashSetCollectionExtractor.getNumberOfNotNullElements
(IObject coll) IdentityHashMapCollectionExtractor.getNumberOfNotNullElements
(IObject coll) MATCollectionExtractor.getNumberOfNotNullElements
(IObject collection) NoContentCollectionExtractor.getNumberOfNotNullElements
(IObject collection) PairCollectionExtractor.getNumberOfNotNullElements
(IObject coll) ReplicatedValueCollectionExtractor.getNumberOfNotNullElements
(IObject coll) SetFromCollectionExtractor.getNumberOfNotNullElements
(IObject collection) SingletonCollectionExtractor.getNumberOfNotNullElements
(IObject coll) SingletonMapExtractor.getNumberOfNotNullElements
(IObject coll) TreeMapCollectionExtractor.getNumberOfNotNullElements
(IObject coll) WrapperCollectionExtractor.getNumberOfNotNullElements
(IObject coll) static IObjectArray
ExtractionUtils.getOnlyArrayField
(IObject obj) Get the only array field from the object.static int[]
ExtractionUtils.referenceArrayToIds
(ISnapshot snapshot, long[] referenceArray) static JdkVersion
ExtractionUtils.resolveVersion
(ISnapshot snapshot) -
Uses of SnapshotException in org.eclipse.mat.internal.snapshot
Modifier and TypeMethodDescriptionHeapObjectArgumentFactory.build
(ArgumentDescriptor argument) SnapshotArgument.build
(ArgumentDescriptor descriptor) static HeapObjectParamArgument
ArgumentParser.consumeHeapObjects
(ISnapshot snapshot, String line) static HeapObjectParamArgument
ArgumentParser.consumeHeapObjects
(ISnapshot snapshot, String[] args, ParsePosition pos) SnapshotQueryContext.convertToString
(Class<?> type, Argument.Advice advice, Object value) SnapshotQueryContext.convertToValue
(Class<?> type, Argument.Advice advice, String value) SnapshotQueryContext.mapToExternalIdentifier
(int objectId) int
SnapshotQueryContext.mapToObjectId
(String externalIdentifier) SnapshotQueryContext.parse
(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos) -
Uses of SnapshotException in org.eclipse.mat.internal.snapshot.inspections
Modifier and TypeMethodDescriptionList<?>
Path2GCRootsQuery.Tree.addNextPath()
static 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.groupByClassLoader
(ISnapshot snapshot, int[] roots, IProgressListener listener) static DominatorQuery.Tree
DominatorQuery.Factory.groupByPackage
(ISnapshot snapshot, int[] roots, IProgressListener listener) -
Uses of SnapshotException 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.ModifierConstructorDescriptionFrameModel
(String moduleName, String methodName, String frameFileName, int frameLine, boolean isBindingFrame) FrameModel
(IObject object) -
Uses of SnapshotException in org.eclipse.mat.parser
Modifier and TypeMethodDescriptionvoid
IIndexBuilder.fill
(IPreliminaryIndex index, IProgressListener listener) Pass1 and pass2 parsing.<A> A
Get additional information about the snapshotvoid
Initialize with file and prefix (needed for naming conventions).void
Open the dump file associated with the snapshotGet detailed information about an objectlong[]
IObjectReader.readObjectArrayContent
(ObjectArrayImpl array, int offset, int length) Get detailed information about a object arrayIObjectReader.readPrimitiveArrayContent
(PrimitiveArrayImpl array, int offset, int length) Get detailed information about a primitive array -
Uses of SnapshotException in org.eclipse.mat.parser.index
Modifier and TypeMethodDescriptionint[]
IIndexReader.IOne2ManyObjectsIndex.getObjectsOf
(Serializable key) Get the object IDs corresponding to the input key -
Uses of SnapshotException in org.eclipse.mat.parser.internal
Modifier and TypeMethodDescriptionstatic void
DominatorTree.calculate
(SnapshotImpl snapshot, IProgressListener listener) void
SnapshotImpl.calculateDominatorTree
(IProgressListener listener) Calculates the dominator tree after a parsevoid
SnapshotImpl.calculateMinRetainedHeapSizeForClasses
(IProgressListener listener) Calculate for each class an approximation for the retained size of all instances of that class.static SnapshotImpl
SnapshotImpl.create
(XSnapshotInfo snapshotInfo, String objectReaderUniqueIdentifier, IObjectReader heapObjectReader, HashMapIntObject<ClassImpl> classCache, HashMapIntObject<XGCRootInfo[]> roots, HashMapIntObject<HashMapIntObject<XGCRootInfo[]>> rootsPerThread, BitField arrayObjects, IndexManager indexManager, IProgressListener listener) Create the snapshot after a fresh parse.SnapshotImplBuilder.create
(ParserRegistry.Parser parser, IProgressListener listener) SnapshotFactoryImpl.createQuery
(String queryString) SnapshotImpl.getClasses()
SnapshotImpl.getClassesByName
(String name, boolean includeSubClasses) SnapshotImpl.getClassesByName
(Pattern namePattern, boolean includeSubClasses) SnapshotImpl.getClassOf
(int objectId) SnapshotImpl.getDominatorsOf
(int[] objectIds, Pattern excludePattern, IProgressListener progressListener) SnapshotImpl.getGCRootInfo
(int objectId) int[]
SnapshotImpl.getGCRoots()
long
SnapshotImpl.getHeapSize
(int objectId) long
SnapshotImpl.getHeapSize
(int[] objectIds) SnapshotImpl.getHistogram
(int[] objectIds, IProgressListener progressMonitor) SnapshotImpl.getHistogram
(IProgressListener listener) int[]
SnapshotImpl.getImmediateDominatedIds
(int objectId) int
SnapshotImpl.getImmediateDominatorId
(int objectId) int[]
SnapshotImpl.getInboundRefererIds
(int objectId) int[]
SnapshotImpl.getInboundRefererIds
(int[] objectIds, IProgressListener progressMonitor) int[]
SnapshotImpl.getMinRetainedSet
(int[] objectIds, IProgressListener progressMonitor) long
SnapshotImpl.getMinRetainedSize
(int[] objectIds, IProgressListener progressMonitor) SnapshotImpl.getMultiplePathsFromGCRoots
(int[] objectIds, Map<IClass, Set<String>> excludeList) SnapshotImpl.getObject
(int objectId) int[]
SnapshotImpl.getOutboundReferentIds
(int objectId) int[]
SnapshotImpl.getOutboundReferentIds
(int[] objectIds, IProgressListener progressMonitor) SnapshotImpl.getPathsFromGCRoots
(int objectId, Map<IClass, Set<String>> excludeList) long
SnapshotImpl.getRetainedHeapSize
(int objectId) int[]
SnapshotImpl.getRetainedSet
(int[] objectIds, String[] fieldNames, IProgressListener listener) int[]
SnapshotImpl.getRetainedSet
(int[] objectIds, ExcludedReferencesDescriptor[] excludedReferences, IProgressListener progressMonitor) int[]
SnapshotImpl.getRetainedSet
(int[] objectIds, IProgressListener progressMonitor) <A> A
SnapshotImpl.getSnapshotAddons
(Class<A> addon) Get additional JVM information, if available.SnapshotImpl.getThreadStack
(int objectId) int[]
SnapshotImpl.getTopAncestorsInDominatorTree
(int[] objectIds, IProgressListener listener) int
SnapshotImpl.mapAddressToId
(long objectAddress) long
SnapshotImpl.mapIdToAddress
(int objectId) SnapshotFactoryImpl.openSnapshot
(File file, Map<String, String> args, IProgressListener listener) static SnapshotImpl
SnapshotImpl.readFromFile
(File file, String prefix, IProgressListener listener) Read the snapshot from an already indexed dump. -
Uses of SnapshotException in org.eclipse.mat.parser.internal.oql
Modifier and TypeMethodDescriptionOQLQueryImpl.execute
(ISnapshot snapshot, IProgressListener monitor) -
Uses of SnapshotException in org.eclipse.mat.parser.internal.oql.compiler
Modifier and TypeMethodDescriptionabstract Object
Expression.compute
(EvaluationContext ctx) QueryExpression.compute
(EvaluationContext ctx) -
Uses of SnapshotException in org.eclipse.mat.parser.internal.snapshot
Modifier and TypeMethodDescriptionObject[]
MultiplePathsFromGCRootsComputerImpl.getAllPaths
(IProgressListener progressListener) MultiplePathsFromGCRootsComputerImpl.getPathsByGCRoot
(IProgressListener progressListener) MultiplePathsFromGCRootsComputerImpl.getPathsGroupedByClass
(boolean startFromTheGCRoots, IProgressListener progressListener) int
ObjectMarker.markSingleThreaded
(ExcludedReferencesDescriptor[] excludeSets, ISnapshot snapshot) IHistogramBuilderResolver.resolve
(int classId) Deprecated.HistogramBuilder.toHistogram
(SnapshotImpl snapshot, boolean isDefaultHistogram) ModifierConstructorDescriptionMultiplePathsFromGCRootsComputerImpl
(int[] objectIds, Map<IClass, Set<String>> excludeMap, SnapshotImpl snapshot) -
Uses of SnapshotException 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) boolean
ClassImpl.doesExtend
(String className) 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.ClassLoaderImpl.getDefinedClasses()
AbstractObjectImpl.getGCRootInfo()
int[]
ClassImpl.getObjectIds()
long
ClassImpl.getRetainedHeapSizeOfObjects
(boolean calculateIfNotAvailable, boolean approximation, IProgressListener listener) long
ClassLoaderImpl.getRetainedHeapSizeOfObjects
(boolean calculateIfNotAvailable, boolean calculateMinRetainedSize, IProgressListener listener) final Object
AbstractObjectImpl.resolveValue
(String name) ModifierConstructorDescriptionXClassHistogramRecord
(ClassImpl classInstance) Create an XClassHistogramRecord by retrieving information from the class -
Uses of SnapshotException in org.eclipse.mat.query
Modifier and TypeMethodDescriptionvoid
ContextDerivedData.DerivedCalculator.calculate
(ContextDerivedData.DerivedOperation operation, Object row, IProgressListener listener) Do the calculation for the row.IQueryContext.convertToString
(Class<?> type, Argument.Advice advice, Object value) Convert the value to a string.IQueryContext.convertToValue
(Class<?> type, Argument.Advice advice, String value) Convert the String to the value based on the type and advice.abstract IResult
DetailResultProvider.getResult
(Object row, IProgressListener listener) Get more data about the row.IQueryContext.mapToExternalIdentifier
(int objectId) Map an id to a readable form.int
IQueryContext.mapToObjectId
(String externalIdentifier) Map readable form to internal id.IQueryContext.parse
(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos) Consume the special data. -
Uses of SnapshotException in org.eclipse.mat.query.quantize
Modifier and TypeMethodDescriptionvoid
Add one value to the quantize function representing a set of objects.void
Add one value to the quantize function representing one heap object. -
Uses of SnapshotException in org.eclipse.mat.query.refined
Modifier and TypeMethodDescriptionvoid
RefinedStructuredResult.calculate
(ContextProvider provider, ContextDerivedData.DerivedOperation operation, List<?> elements, RefinedStructuredResult.ICalculationProgress progress, IProgressListener listener) -
Uses of SnapshotException in org.eclipse.mat.query.registry
Modifier and TypeMethodDescriptionArgumentFactory.build
(ArgumentDescriptor descriptor) QueryContextImpl.convertToString
(Class<?> type, Argument.Advice advice, Object value) QueryContextImpl.convertToValue
(Class<?> type, Argument.Advice advice, String value) QueryDescriptor.createNewArgumentSet
(IQueryContext context) Create ArgumentSet.ArgumentSet.execute
(IProgressListener listener) Generate all the real arguments for an instance of a query, then execute the query.static IResult
CommandLine.execute
(IQueryContext context, String commandLine, IProgressListener listener) Queries.execute
(IProgressListener listener) static void
CommandLine.fillIn
(ArgumentSet arguments, String line) static Queries
Queries.lookup
(String name, IQueryContext context) static ArgumentSet
CommandLine.parse
(IQueryContext context, String line) static Queries
Queries.parse
(String commandLine, IQueryContext context) -
Uses of SnapshotException in org.eclipse.mat.report
-
Uses of SnapshotException in org.eclipse.mat.report.internal
Modifier and TypeMethodDescriptionabstract AbstractPart
AbstractPart.execute
(IQueryContext context, ResultRenderer renderer, IProgressListener listener) LinkedPart.execute
(IQueryContext context, ResultRenderer renderer, IProgressListener listener) QueryPart.execute
(IQueryContext context, ResultRenderer renderer, IProgressListener listener) SectionPart.execute
(IQueryContext context, ResultRenderer renderer, IProgressListener listener) -
Uses of SnapshotException in org.eclipse.mat.snapshot
Modifier and TypeClassDescriptionclass
Multiple snapshots found in a dump when no particular dump has been requested.class
Exception thrown by the OQL parser.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 IOQLQuery
SnapshotFactory.createQuery
(String queryString) Factory to create an OQL Query.SnapshotFactory.Implementation.createQuery
(String queryString) Run an OQL queryIOQLQuery.execute
(ISnapshot snapshot, IProgressListener monitor) Execute the OQL query.Object[]
IMultiplePathsFromGCRootsComputer.getAllPaths
(IProgressListener progressListener) Calculates (if not yet calculated) and returns all the paths.ISnapshot.getClasses()
Get all classes.ISnapshot.getClassesByName
(String name, boolean includeSubClasses) Get all classes by name.ISnapshot.getClassesByName
(Pattern namePattern, boolean includeSubClasses) Get all classes by name pattern.ISnapshot.getClassOf
(int objectId) Get object abstracting the real Java Class this object was an instance of in the heap dump identified by the given id.ISnapshot.getDominatorsOf
(int[] objectIds, Pattern excludePattern, IProgressListener progressListener) Get a summary of the dominators for all the given objects.ISnapshot.getGCRootInfo
(int objectId) Get the GC root info for an object.int[]
ISnapshot.getGCRoots()
Get all GC roots.long
ISnapshot.getHeapSize
(int objectId) Get heap size for just the given object.long
ISnapshot.getHeapSize
(int[] objectIds) Get the total shallow heap size for a set of objects.ISnapshot.getHistogram
(int[] objectIds, IProgressListener progressListener) Get histogram for some specific objects - usually the result of other calls to the snapshot.ISnapshot.getHistogram
(IProgressListener progressListener) Get histogram for the whole snapshot.int[]
ISnapshot.getImmediateDominatedIds
(int objectId) Get objects the given object directly dominates, i.e.int
ISnapshot.getImmediateDominatorId
(int objectId) Get object which directly dominates the given object, i.e.int[]
ISnapshot.getInboundRefererIds
(int objectId) Get all objects referencing the given object.int[]
ISnapshot.getInboundRefererIds
(int[] objectIds, IProgressListener progressListener) Get all objects referencing the given objects.int[]
ISnapshot.getMinRetainedSet
(int[] objectIds, IProgressListener progressListener) Calculate the minimum retained set of objects for the given objects (including the given objects).long
ISnapshot.getMinRetainedSize
(int[] objectIds, IProgressListener listener) Calculate the minimum retained size for the given objects.ISnapshot.getMultiplePathsFromGCRoots
(int[] objectIds, Map<IClass, Set<String>> excludeMap) Returns an IMultiplePathsFromGCRootsComputer object, which can be used to calculate the shortest path from the GC roots to each of objects in the specified object set.int[]
IPathsFromGCRootsComputer.getNextShortestPath()
Get next shortest path.ISnapshot.getObject
(int objectId) Get object abstracting the real Java Object from the heap dump identified by the given id.int[]
ClassLoaderHistogramRecord.getObjectIds()
Get ids of the objects this class loader histogram record stands for.int[]
ISnapshot.getOutboundReferentIds
(int objectId) Get all objects referenced by the given object.int[]
ISnapshot.getOutboundReferentIds
(int[] objectIds, IProgressListener progressListener) Get all objects referenced by the given objects.IMultiplePathsFromGCRootsComputer.getPathsByGCRoot
(IProgressListener progressListener) Calculates (if not yet calculated) and returns all the paths.ISnapshot.getPathsFromGCRoots
(int objectId, Map<IClass, Set<String>> excludeMap) Get interactive computer for paths from GC roots to the given object.long
MultiplePathsFromGCRootsClassRecord.getReferencedHeapSize()
Get the total net heap size of all referenced objects (see getReferencedObjects())long
MultiplePathsFromGCRootsRecord.getReferencedHeapSize()
Get the total net heap size of all referenced objects (see getReferencedObjects())long
ISnapshot.getRetainedHeapSize
(int objectId) Get retained heap size for the given object.int[]
ISnapshot.getRetainedSet
(int[] objectIds, String[] fieldNames, IProgressListener progressMonitor) Get retained set of objects for the given fields at the given objects (excluding the given objects).int[]
ISnapshot.getRetainedSet
(int[] objectIds, ExcludedReferencesDescriptor[] excludedReferences, IProgressListener progressMonitor) Get retained set of objects for the given fields at the given objects (excluding the given objects).int[]
ISnapshot.getRetainedSet
(int[] objectIds, IProgressListener progressListener) Get retained set of objects for the given objects (including the given objects).<A> A
ISnapshot.getSnapshotAddons
(Class<A> addon) Get additional JVM information, if available.ISnapshot.getThreadStack
(int objectId) Get a the stack trace information for a given thread object, if thread stack information is available in this snapshot.int[]
ISnapshot.getTopAncestorsInDominatorTree
(int[] objectIds, IProgressListener listener) Get the top-ancestors in the dominator tree from the supplied objectIds.int
ISnapshot.mapAddressToId
(long objectAddress) Map object address (memory address where the object was stored) to object id (snapshot internal identity assigned during parsing).long
ISnapshot.mapIdToAddress
(int objectId) Map object id (snapshot internal identity assigned during parsing) to object address (memory address where the object was stored).MultiplePathsFromGCRootsClassRecord.nextLevel()
Go down to the next levelSnapshotFactory.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. -
Uses of SnapshotException in org.eclipse.mat.snapshot.acquire
Modifier and TypeMethodDescriptionIHeapDumpProvider.acquireDump
(VmInfo info, File preferredLocation, IProgressListener listener) Acquire a heap dump from a locally running Java process.IHeapDumpProvider.getAvailableVMs
(IProgressListener listener) Returns a list of locally running Java processes from which the heap dump provider can attempt to acquire a heap dump -
Uses of SnapshotException in org.eclipse.mat.snapshot.extension
Modifier and TypeMethodDescriptionvoid
IRequestDetailsResolver.complement
(ISnapshot snapshot, IThreadInfo thread, int[] javaLocals, int thisJavaLocal, IProgressListener listener) Add extra detailsvoid
IThreadDetailsResolver.complementDeep
(IThreadInfo thread, IProgressListener listener) Extract detailed information about a thread, for example for ThreadInfoQuery.void
IThreadDetailsResolver.complementShallow
(IThreadInfo thread, IProgressListener listener) Extract basic information about a thread, for example for ThreadOverviewQuery.Resolve the name for snapshot object.ITroubleTicketResolver.resolveByClass
(IClass clazz, IProgressListener listener) Return a proposal for the component (e.g.ITroubleTicketResolver.resolveByClassLoader
(IClassLoader classLoader, IProgressListener listener) Return a proposal for the component (e.g. -
Uses of SnapshotException in org.eclipse.mat.snapshot.model
Modifier and TypeMethodDescriptionboolean
IClass.doesExtend
(String className) Does this class extend a class of the supplied name? With multiple class loaders the supplied name might not be the class you were intending to find.IClassLoader.getDefinedClasses()
Returns the classes defined by this class loader instance.IObject.getGCRootInfo()
GetGCRootInfo
if the object is a garbage collection root or null otherwise.ObjectReference.getObject()
Get a detailed view of the object.int
ObjectReference.getObjectId()
The id of the objectint[]
IClass.getObjectIds()
Ids of all instances of this class (an empty array if there are no instances of the class)long
IClass.getRetainedHeapSizeOfObjects
(boolean calculateIfNotAvailable, boolean calculateMinRetainedSize, IProgressListener listener) Returns the retained size of all objects of this instance including the class instance.long
IClassLoader.getRetainedHeapSizeOfObjects
(boolean calculateIfNotAvailable, boolean calculateMinRetainedSize, IProgressListener listener) Returns the retained size of all objects and classes loaded by this class loader.static String
PrettyPrinter.objectAsString
(IObject stringObject, int limit) Convert ajava.lang.String
object into a String.IObject.resolveValue
(String field) Resolves and returns the value of a field specified by a dot notation. -
Uses of SnapshotException in org.eclipse.mat.snapshot.query
Modifier and TypeMethodDescriptionPieFactory.addSlice
(int objectId) Create and add a new slice for the given object.Create and add a new slice for the given object.static 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.SnapshotQuery.execute
(IProgressListener listener) Execute the query and return the result.int[]
IHeapObjectArgument.getIds
(IProgressListener listener) This method returns one (possibly big) integer array with the selected object ids.static SnapshotQuery
Factory method to create a query by name.static SnapshotQuery
Factory method to create a query by command line, i.e.TQuantize.process
(IProgressListener listener) Create distribution based on the given table.SnapshotQuery.refine
(IProgressListener listener) Execute the query and return aRefinedResultBuilder
which allows for filtering, sorting and limiting of the result.Deprecated.use setArgument() insteadSnapshotQuery.setArgument
(String name, Object value) Set the argument identified byname
.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. -
Uses of SnapshotException in org.eclipse.mat.ui
Modifier and TypeMethodDescriptionstatic void
QueryExecution.executeAgain
(MultiPaneEditor editor, PaneState state) static void
QueryExecution.executeCommandLine
(MultiPaneEditor editor, PaneState originator, String commandLine) static void
QueryExecution.executeCommandLine
(MultiPaneEditor editor, PaneState originator, String commandLine, boolean prompt) static void
QueryExecution.executeQuery
(MultiPaneEditor editor, QueryDescriptor query) -
Uses of SnapshotException in org.eclipse.mat.ui.internal.acquire
Modifier and TypeMethodDescriptionProviderContextImpl.mapToExternalIdentifier
(int objectId) int
ProviderContextImpl.mapToObjectId
(String externalIdentifier) ProviderContextImpl.parse
(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos) -
Uses of SnapshotException in org.eclipse.mat.ui.internal.browser
Modifier and TypeMethodDescriptionvoid
QueryBrowserPopup.Element.execute
(MultiPaneEditor editor, boolean forcePrompt) -
Uses of SnapshotException in org.eclipse.mat.ui.internal.query.arguments
Modifier and TypeMethodDescriptionabstract void
void
void
void
void
void
void
void
-
Uses of SnapshotException in org.eclipse.mat.ui.util
Modifier and TypeMethodDescriptionboolean
QueryContextMenu.anyInstances
(ISnapshot snapshot, String cn) 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