# Uses of Class
org.eclipse.mat.SnapshotException

Packages that use SnapshotException
Package
Description
org.eclipse.mat
Package for general Memory Analyzer exceptions, usable from any plug-in.
org.eclipse.mat.dtfj
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).
org.eclipse.mat.hprof
Parser for HPROF dumps, just a parser extension, not an Application Programming Interface (API).
org.eclipse.mat.hprof.acquire
Generator of HPROF dumps from other running processes on the system, just a acquire dumps extension, not an Application Programming Interface (API).
org.eclipse.mat.hprof.extension
Extension point interfaces for HPROF dumps.
org.eclipse.mat.ibmvm.acquire
Create IBM dumps - this is an internal package not intended as an Application Programming Interface (API) except as an extension.
org.eclipse.mat.inspections
These are general queries.
org.eclipse.mat.inspections.collectionextract
Code for reading data from collections found in a snapshot.
org.eclipse.mat.inspections.eclipse
These are queries for debugging Eclipse based applications.
org.eclipse.mat.inspections.jetty
These are queries for the Jetty web server.
org.eclipse.mat.inspections.osgi.model
These are utilities for the OSGi bundle queries.
org.eclipse.mat.inspections.threads
These are queries for Threads.
org.eclipse.mat.inspections.wildfly
These are queries for the application servers Wildfly and JBoss Enterprise Application Platform.
org.eclipse.mat.internal.acquire
Support for collecting arguments for acquiring heap dumps from running programs.
org.eclipse.mat.internal.collectionextract
Code for reading data from collections found in a snapshot.
org.eclipse.mat.internal.snapshot
Collects arguments for queries.
org.eclipse.mat.internal.snapshot.inspections
These are queries for dominator tree and paths to/from garbage collection roots.
org.eclipse.mat.jruby.resolver
These are queries for snapshots generated by JRuby applications.
org.eclipse.mat.parser
Interfaces for handling indexes.
org.eclipse.mat.parser.index
Implementations for handling indexes.
org.eclipse.mat.parser.internal
Implementations for building the snapshot (not API).
org.eclipse.mat.parser.internal.oql
Object Query Language (OQL) (not API).
org.eclipse.mat.parser.internal.oql.compiler
Object Query Language (OQL) compiler (not API).
org.eclipse.mat.parser.internal.snapshot
Utilities for performing basic operations on the snapshot (not API).
org.eclipse.mat.parser.model
The implementation of key snapshot objects such as representing classes, arrays, and objects in the snapshot.
org.eclipse.mat.query
Package for examining and controlling results of running queries.
org.eclipse.mat.query.quantize
Value or linear frequency distribution histograms.
org.eclipse.mat.query.refined
A way of controlling the detail given by the output of a query.
org.eclipse.mat.query.registry
Package for getting a list of queries and examining their capabilities and setting them up.
org.eclipse.mat.report
Controls building of reports from XML report definitions.
org.eclipse.mat.report.internal
Internal classes for controlling building of reports from XML report definitions (not API).
org.eclipse.mat.snapshot
The Snapshot API, a VM independent way of looking at a snapshot of the state of objects in a heap.
org.eclipse.mat.snapshot.acquire
Classes to help get a snapshot from a current running process on the system.
org.eclipse.mat.snapshot.extension
Interfaces that extend the information extracted from heap dumps like threads, name resolvers etc.
org.eclipse.mat.snapshot.model
Snapshot entities, for example class, instances, class loaders, fields, GC roots.
org.eclipse.mat.snapshot.query
Utilities to develop heap dump queries.
org.eclipse.mat.ui
User interface plug-in definitions and query execution for UI components (not API).
org.eclipse.mat.ui.internal.acquire
Acquire heap dumps from other running processes - user interface (not API).
org.eclipse.mat.ui.internal.browser
Examine list of queries and query history - user interface (not API).
org.eclipse.mat.ui.internal.query.arguments
Allows a user to specify arguments for a query - user interface (not API).
org.eclipse.mat.ui.util
Utility classes for toolbars, popup menu, searching on typing - user interface (not API).

## Uses of SnapshotException in org.eclipse.mat

Methods in org.eclipse.mat that return SnapshotException
Modifier and Type
Method
Description
`static final SnapshotException`
SnapshotException.`rethrow(Throwable e)`
Wrap, if necessary, and return a SnapshotException.

## Uses of SnapshotException in org.eclipse.mat.dtfj

Methods in org.eclipse.mat.dtfj that throw SnapshotException
Modifier and Type
Method
Description
`void`
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`
DTFJHeapObjectReader.`getAddon(Class<A> addon)`
Returns extra data to be provided by `ISnapshot.getSnapshotAddons(Class addon)`.
`void`
DTFJHeapObjectReader.`open(ISnapshot snapshot)`
`IObject`
DTFJHeapObjectReader.`read(int objectId, ISnapshot snapshot)`
`long[]`
DTFJHeapObjectReader.`readObjectArrayContent(ObjectArrayImpl array, int offset, int length)`
Read some of the contents of an array
`Object`
DTFJHeapObjectReader.`readPrimitiveArrayContent(PrimitiveArrayImpl array, int offset, int length)`
Read some of the contents of an array
`String`
StackFrameResolver.`resolve(IObject object)`

## Uses of SnapshotException in org.eclipse.mat.hprof

Methods in org.eclipse.mat.hprof that throw SnapshotException
Modifier and Type
Method
Description
`void`
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`
HprofHeapObjectReader.`getAddon(Class<A> addon)`
Returns extra data to be provided by `ISnapshot.getSnapshotAddons(Class addon)`.
`IObject`
HprofHeapObjectReader.`read(int objectId, ISnapshot snapshot)`
`IObject`
HprofRandomAccessParser.`read(int objectId, long position, ISnapshot dump, IIndexReader.IOne2LongIndex o2hprof)`
`void`
Pass1Parser.`read(File file, String prefix, String dumpNrToRead, long estimatedLength)`
`void`
Pass2Parser.`read(File file, String prefix, String dumpNrToRead)`
`long[]`
HprofHeapObjectReader.`readObjectArrayContent(ObjectArrayImpl array, int offset, int length)`
`Object`
HprofHeapObjectReader.`readPrimitiveArrayContent(PrimitiveArrayImpl array, int offset, int length)`
`List<IClass>`
HprofRandomAccessParser.`resolveClassHierarchy(ISnapshot snapshot, IClass clazz)`

## Uses of SnapshotException in org.eclipse.mat.hprof.acquire

Methods in org.eclipse.mat.hprof.acquire that throw SnapshotException
Modifier and Type
Method
Description
`File`
JMapHeapDumpProvider.`acquireDump(VmInfo info, File preferredLocation, IProgressListener listener)`
`List<JmapVmInfo>`
JMapHeapDumpProvider.`getAvailableVMs(IProgressListener listener)`

## Uses of SnapshotException in org.eclipse.mat.hprof.extension

Methods in org.eclipse.mat.hprof.extension that throw SnapshotException
Modifier and Type
Method
Description
`<A> A`
IRuntimeEnhancer.`getAddon(ISnapshot snapshot, Class<A> addon)`
Returns addon information of certain type if such information is attached to the HPROF snapshot
`void`
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

Methods in org.eclipse.mat.ibmvm.acquire that throw SnapshotException
Modifier and Type
Method
Description
`File`
IBMDumpProvider.`acquireDump(VmInfo info, File preferredLocation, IProgressListener listener)`
`File`
IBMExecDumpProvider.`acquireDump(VmInfo info, File preferredLocation, IProgressListener listener)`
`File`
IBMJavaDumpProvider.`jextract(File preferredDump, boolean compress, List<File> dumps, File udir, File javahome, IProgressListener listener)`

## Uses of SnapshotException in org.eclipse.mat.inspections

Methods in org.eclipse.mat.inspections that throw SnapshotException
Modifier and Type
Method
Description
`static 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)`
`String`
CommonNameResolver.AccessibleObjectResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.AtomicBooleanResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.AtomicReferenceValueResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.AtomicStampedReferenceValueResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.BigDecimalResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.BigIntegerResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.ByteArrayResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.CharArrayResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.ClassTypeResolver.`resolve(IObject object)`
`String`
CommonNameResolver.ConstructorResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.DoubleAdderResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.EnumResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.ExternalDataResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.FieldResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.ICUBaseLocaleResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.Inet6AddressHolderResolver.`resolve(IObject object)`
`String`
CommonNameResolver.Inet6AddressResolver.`resolve(IObject object)`
`String`
CommonNameResolver.InetAddressHolderResolver.`resolve(IObject object)`
`String`
CommonNameResolver.InetAddressResolver.`resolve(IObject object)`
`String`
CommonNameResolver.InetSocketAddressHolderResolver.`resolve(IObject object)`
`String`
CommonNameResolver.InetSocketAddressResolver.`resolve(IObject object)`
`String`
CommonNameResolver.LocaleResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.LongAdderResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.MemberNameResolver.`resolve(IObject heapObject)`
`String`
CommonNameResolver.MethodResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.ModuleResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.SocketChannelImpl.`resolve(IObject object)`
`String`
CommonNameResolver.StackTraceElementResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.StringBufferResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.StringResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.SunLocaleResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.ThreadGroupResolver.`resolve(IObject object)`
`String`
CommonNameResolver.ThreadResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.ULocaleResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.URIResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.URLResolver.`resolve(IObject obj)`
`String`
CommonNameResolver.ValueResolver.`resolve(IObject heapObject)`

## Uses of SnapshotException in org.eclipse.mat.inspections.collectionextract

Methods in org.eclipse.mat.inspections.collectionextract that throw SnapshotException
Modifier and Type
Method
Description
`static 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.
`IObjectArray`
ICollectionExtractor.`extractEntries(IObject collection)`
Extracts the array containing the collection content
`int[]`
ICollectionExtractor.`extractEntryIds(IObject collection)`
Returns the object ids (int) for all objects which are contained in the collection
`static 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.
`Iterator<Map.Entry<IObject,IObject>>`
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 parameter
`static ICollectionExtractor`
CollectionExtractionUtils.`findCollectionExtractor(IObject collection)`
Finds a proper ICollectionExtractor for the object passed as parameter
`IObject`
ExtractedMap.`getByKeyIdentity(IObject key)`
Gets an object from the Map, searching by the key.
`Integer`
ICollectionExtractor.`getCapacity(IObject collection)`
Return the capacity of the collection, if applicable
`Double`
ExtractedMap.`getCollisionRatio()`
Get the ratio of collisions inside the map.
`Double`
IMapExtractor.`getCollisionRatio(IObject collection)`
Calculates the collision ratio in the collection.
`Double`
ICollectionExtractor.`getFillRatio(IObject collection)`
Calculate the fill ratio of a collection
`GCRootInfo[]`
AbstractExtractedCollection.`getGCRootInfo()`
`GCRootInfo[]`
IMapExtractor.EntryObject.`getGCRootInfo()`
`Integer`
ExtractedCollection.`getNumberOfNotNullElements()`
Get the number of non-null elements contained in the collection
`Integer`
ICollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
Returns the number of non-null elements in the collection.
`Integer`
ICollectionExtractor.`getSize(IObject collection)`
Extract the size of the collection.
`Object`
AbstractExtractedCollection.`resolveValue(String field)`
`Object`
IMapExtractor.EntryObject.`resolveValue(String field)`

## Uses of SnapshotException in org.eclipse.mat.inspections.eclipse

Methods in org.eclipse.mat.inspections.eclipse that throw SnapshotException
Modifier and Type
Method
Description
`String`
EclipseNameResolver.EclipseClassLoaderResolver.`resolve(IObject obj)`
`String`
EclipseNameResolver.EclipseDefaultClassLoaderResolver.`resolve(IObject obj)`
`String`
EclipseNameResolver.EquinoxClassLoaderResolver.`resolve(IObject obj)`
`String`
EclipseNameResolver.OSGiFrameworkVersion.`resolve(IObject obj)`
`String`
EclipseNameResolver.PointResolver.`resolve(IObject obj)`
`String`
EclipseNameResolver.RectangleResolver.`resolve(IObject obj)`
`String`
EclipseNameResolver.RGBResolver.`resolve(IObject obj)`
`String`
EclipseNameResolver.StartupClassLoaderResolver.`resolve(IObject obj)`

## Uses of SnapshotException in org.eclipse.mat.inspections.jetty

Methods in org.eclipse.mat.inspections.jetty that throw SnapshotException
Modifier and Type
Method
Description
`void`
JettyRequestResolver.`complement(ISnapshot snapshot, IThreadInfo thread, int[] javaLocals, int thisJavaLocal, IProgressListener listener)`
`String`
JettyNameResolvers.JasperLoaderResolver.`resolve(IObject object)`
`String`
JettyNameResolvers.WebAppClassLoaderResolver.`resolve(IObject object)`

## Uses of SnapshotException in org.eclipse.mat.inspections.osgi.model

Methods in org.eclipse.mat.inspections.osgi.model that throw SnapshotException
Modifier and Type
Method
Description
`Bundle`
EquinoxBundleReader.`getBundle(BundleDescriptor descriptor)`
`Bundle`
EquinoxBundleReader2.`getBundle(BundleDescriptor descriptor)`
`Bundle`
IBundleReader.`getBundle(BundleDescriptor descriptor)`
Load the bundle by its descriptor
`Bundle`
OSGiModel.`getBundle(BundleDescriptor descriptor)`
Get bundle by its descriptor
`static IBundleReader`
BundleReaderFactory.`getBundleReader(ISnapshot snapshot)`
Check for the type of framework and return corresponding IBundleReader
`OSGiModel`
EquinoxBundleReader.`readOSGiModel(IProgressListener listener)`
`OSGiModel`
EquinoxBundleReader2.`readOSGiModel(IProgressListener listener)`
`OSGiModel`
IBundleReader.`readOSGiModel(IProgressListener listener)`
get a model describing the OSGi framework

## Uses of SnapshotException in org.eclipse.mat.inspections.threads

Methods in org.eclipse.mat.inspections.threads that throw SnapshotException
Modifier and Type
Method
Description
`void`
ThreadDetailsResolver.`complementDeep(IThreadInfo thread, IProgressListener listener)`
`void`
ThreadDetailsResolver.`complementShallow(IThreadInfo thread, IProgressListener listener)`
`static boolean`
ThreadOverviewQuery.`isThread(ISnapshot snapshot, int objectId)`
`String`
StackFrameResolver.`resolve(IObject object)`

## Uses of SnapshotException in org.eclipse.mat.inspections.wildfly

Methods in org.eclipse.mat.inspections.wildfly that throw SnapshotException
Modifier and Type
Method
Description
`String`
WildflyJbossNameResolvers.ModuleClassLoaderResolver.`resolve(IObject object)`

## Uses of SnapshotException in org.eclipse.mat.internal.acquire

Methods in org.eclipse.mat.internal.acquire that throw SnapshotException
Modifier and Type
Method
Description
`static final VmInfoDescriptor`
VmInfoDescriptor.`createDescriptor(VmInfo vmInfo)`

## Uses of SnapshotException in org.eclipse.mat.internal.collectionextract

Methods in org.eclipse.mat.internal.collectionextract that throw SnapshotException
Modifier and Type
Method
Description
`IObjectArray`
ArrayCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
ConcurrentHashMapCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
ConcurrentSkipListCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
EmptyCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
FieldArrayCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
FieldSizedCapacityCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
FieldSizedCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
HashMapCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
HashSetCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
KeySetCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
MATCollectionExtractor.`extractEntries(IObject collection)`
`IObjectArray`
NoContentCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
PairCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
ReplicatedValueCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
SetFromCollectionExtractor.`extractEntries(IObject collection)`
`IObjectArray`
SingletonCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
SingletonMapExtractor.`extractEntries(IObject coll)`
`IObjectArray`
TreeMapCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
ValuesCollectionExtractor.`extractEntries(IObject coll)`
`IObjectArray`
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)`
`Iterator<Map.Entry<IObject,IObject>>`
FieldSizeArrayMapExtractor.`extractMapEntries(IObject collection)`
`Iterator<Map.Entry<IObject,IObject>>`
FieldSizedCapacityMapExtractor.`extractMapEntries(IObject collection)`
`Iterator<Map.Entry<IObject,IObject>>`
HashSetCollectionExtractor.`extractMapEntries(IObject coll)`
`Iterator<Map.Entry<IObject,IObject>>`
IdentityHashMapCollectionExtractor.`extractMapEntries(IObject coll)`
`Iterator<Map.Entry<IObject,IObject>>`
RegularEnumSetExtractor.`extractMapEntries(IObject collection)`
`Iterator<Map.Entry<IObject,IObject>>`
SetFromCollectionExtractor.`extractMapEntries(IObject collection)`
`Iterator<Map.Entry<IObject,IObject>>`
SingletonMapExtractor.`extractMapEntries(IObject coll)`
`Iterator<Map.Entry<IObject,IObject>>`
TreeSetArrayCollectionExtractor.`extractMapEntries(IObject coll)`
`Iterator<Map.Entry<IObject,IObject>>`
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.
`IArray`
FieldSizedCapacityCollectionExtractor.`getArray(IObject coll)`
`IObjectArray`
HashMapCollectionExtractor.`getBackingArray(IObject coll)`
`Integer`
ArrayCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
ArrayListSubListCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
ConcurrentHashMapCollectionExtractor.`getCapacity(IObject collection)`
`Integer`
ConcurrentSkipListCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
EmptyCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
FieldArrayCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
FieldSizedCapacityCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
FieldSizedCapacityMapExtractor.`getCapacity(IObject coll)`
`Integer`
FieldSizedCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
HashMapCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
HashSetCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
IdentityHashMapCollectionExtractor.`getCapacity(IObject collection)`
Gets the capacity of the map.
`Integer`
MapCollectionExtractorBase.`getCapacity(IObject coll)`
`Integer`
MATArrayBig.`getCapacity(IObject coll)`
`Integer`
MATCollectionExtractor.`getCapacity(IObject collection)`
`Integer`
NoContentCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
PairCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
ReplicatedValueCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
SetFromCollectionExtractor.`getCapacity(IObject collection)`
`Integer`
SingletonCollectionExtractor.`getCapacity(IObject coll)`
`Integer`
SingletonMapExtractor.`getCapacity(IObject coll)`
`Integer`
WrapperCollectionExtractor.`getCapacity(IObject coll)`
`Double`
ConcurrentSkipListCollectionExtractor.`getCollisionRatio(IObject coll)`
`Double`
EmptyMapExtractor.`getCollisionRatio(IObject collection)`
`Double`
FieldSizeArrayMapExtractor.`getCollisionRatio(IObject collection)`
`Double`
FieldSizedCapacityMapExtractor.`getCollisionRatio(IObject coll)`
`Double`
HashedMapCollectionExtractorBase.`getCollisionRatio(IObject coll)`
`Double`
HashSetCollectionExtractor.`getCollisionRatio(IObject coll)`
`Double`
IdentityHashMapCollectionExtractor.`getCollisionRatio(IObject coll)`
Complete guess as to collision ratio.
`Double`
RegularEnumSetExtractor.`getCollisionRatio(IObject collection)`
`Double`
SetFromCollectionExtractor.`getCollisionRatio(IObject coll)`
`Double`
SingletonMapExtractor.`getCollisionRatio(IObject coll)`
`Double`
WrapperMapExtractor.`getCollisionRatio(IObject coll)`
`Double`
WrapperSetFromMapExtractor.`getCollisionRatio(IObject collection)`
`Integer`
ReplicatedValueCollectionExtractor.`getCount(IObject coll)`
`Double`
ArrayCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
ConcurrentSkipListCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
EmptyCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
FieldArrayCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
FieldSizedCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
HashedMapCollectionExtractorBase.`getFillRatio(IObject coll)`
`Double`
HashSetCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
IdentityHashMapCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
MATArrayBig.`getFillRatio(IObject coll)`
`Double`
MATCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
NoContentCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
PairCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
ReplicatedValueCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
SetFromCollectionExtractor.`getFillRatio(IObject collection)`
`Double`
SingletonCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
SingletonMapExtractor.`getFillRatio(IObject coll)`
`Double`
TreeMapCollectionExtractor.`getFillRatio(IObject coll)`
`Double`
WrapperCollectionExtractor.`getFillRatio(IObject coll)`
`Integer`
ArrayCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
ConcurrentHashMapCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
ConcurrentSkipListCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
EmptyCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
FieldArrayCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
FieldSizedCapacityCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
FieldSizedCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
HashMapCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
HashSetCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
IdentityHashMapCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
MATCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
NoContentCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
PairCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
ReplicatedValueCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
SetFromCollectionExtractor.`getNumberOfNotNullElements(IObject collection)`
`Integer`
SingletonCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
SingletonMapExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
TreeMapCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`Integer`
WrapperCollectionExtractor.`getNumberOfNotNullElements(IObject coll)`
`static IObjectArray`
ExtractionUtils.`getOnlyArrayField(IObject obj)`
Get the only array field from the object.
`Integer`
ArrayCollectionExtractor.`getSize(IObject coll)`
`Integer`
ConcurrentHashMapCollectionExtractor.`getSize(IObject collection)`
`Integer`
ConcurrentSkipListCollectionExtractor.`getSize(IObject coll)`
`Integer`
EmptyCollectionExtractor.`getSize(IObject coll)`
`Integer`
FieldArrayCollectionExtractor.`getSize(IObject coll)`
`Integer`
FieldSizeArrayCollectionExtractor.`getSize(IObject coll)`
`Integer`
FieldSizedCollectionExtractor.`getSize(IObject coll)`
`Integer`
HashMapCollectionExtractor.`getSize(IObject coll)`
`Integer`
HashSetCollectionExtractor.`getSize(IObject coll)`
`Integer`
IBM6ArrayListCollectionExtractor.`getSize(IObject coll)`
`Integer`
IdentityHashMapCollectionExtractor.`getSize(IObject coll)`
`Integer`
LinkedListCollectionExtractor.`getSize(IObject coll)`
`Integer`
MATCollectionExtractor.`getSize(IObject collection)`
`Integer`
NoContentCollectionExtractor.`getSize(IObject coll)`
`Integer`
Pair12CollectionExtractor.`getSize(IObject coll)`
`Integer`
PairCollectionExtractor.`getSize(IObject coll)`
`Integer`
RegularEnumSetExtractor.`getSize(IObject coll)`
`Integer`
ReplicatedValueCollectionExtractor.`getSize(IObject coll)`
`Integer`
SetFromCollectionExtractor.`getSize(IObject collection)`
`Integer`
SingletonCollectionExtractor.`getSize(IObject coll)`
`Integer`
SingletonMapExtractor.`getSize(IObject coll)`
`Integer`
TreeMapCollectionExtractor.`getSize(IObject coll)`
`Integer`
WrapperCollectionExtractor.`getSize(IObject coll)`
`static int[]`
ExtractionUtils.`referenceArrayToIds(ISnapshot snapshot, long[] referenceArray)`
`static JdkVersion`
ExtractionUtils.`resolveVersion(ISnapshot snapshot)`

## Uses of SnapshotException in org.eclipse.mat.internal.snapshot

Methods in org.eclipse.mat.internal.snapshot that throw SnapshotException
Modifier and Type
Method
Description
`Object`
HeapObjectArgumentFactory.`build(ArgumentDescriptor argument)`
`Object`
SnapshotArgument.`build(ArgumentDescriptor descriptor)`
`static HeapObjectParamArgument`
ArgumentParser.`consumeHeapObjects(ISnapshot snapshot, String line)`
`static HeapObjectParamArgument`
ArgumentParser.`consumeHeapObjects(ISnapshot snapshot, String[] args, ParsePosition pos)`
`String`
SnapshotQueryContext.`convertToString(Class<?> type, Argument.Advice advice, Object value)`
`Object`
SnapshotQueryContext.`convertToValue(Class<?> type, Argument.Advice advice, String value)`
`String`
SnapshotQueryContext.`mapToExternalIdentifier(int objectId)`
`int`
SnapshotQueryContext.`mapToObjectId(String externalIdentifier)`
`Object`
SnapshotQueryContext.`parse(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos)`

## Uses of SnapshotException in org.eclipse.mat.internal.snapshot.inspections

Methods in org.eclipse.mat.internal.snapshot.inspections that throw SnapshotException
Modifier and Type
Method
Description
`List<?>`
Path2GCRootsQuery.Tree.`addNextPath()`
`static DominatorQuery.Tree`
DominatorQuery.Factory.`create(ISnapshot snapshot, int[] roots, IProgressListener listener)`
`static MultiplePath2GCRootsQuery.Tree`
MultiplePath2GCRootsQuery.`create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection)`
`static MultiplePath2GCRootsQuery.Tree`
MultiplePath2GCRootsQuery.`create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection, boolean mergeFromRoots, IProgressListener listener)`
Creates a tree by class.
`static MultiplePath2GCRootsQuery.Tree`
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

Methods in org.eclipse.mat.jruby.resolver that throw SnapshotException
Modifier and Type
Method
Description
`void`
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)`
`Map<String,RubyStacktraceDumper.FrameModel[]>`
RubyStacktraceDumper.`getAllStackTraces(ISnapshot model)`
Extracts the Ruby stack trace for all active Ruby threads in the given heap dump.
Constructors in org.eclipse.mat.jruby.resolver that throw SnapshotException
Modifier
Constructor
Description
``
`FrameModel(String moduleName, String methodName, String frameFileName, int frameLine, boolean isBindingFrame)`
``
`FrameModel(IObject object)`

## Uses of SnapshotException in org.eclipse.mat.parser

Methods in org.eclipse.mat.parser that throw SnapshotException
Modifier and Type
Method
Description
`void`
IIndexBuilder.`fill(IPreliminaryIndex index, IProgressListener listener)`
Pass1 and pass2 parsing.
`<A> A`
IObjectReader.`getAddon(Class<A> addon)`
Get additional information about the snapshot
`void`
IIndexBuilder.`init(File file, String prefix)`
Initialize with file and prefix (needed for naming conventions).
`void`
IObjectReader.`open(ISnapshot snapshot)`
Open the dump file associated with the snapshot
`IObject`
IObjectReader.`read(int objectId, ISnapshot snapshot)`
Get detailed information about an object
`long[]`
IObjectReader.`readObjectArrayContent(ObjectArrayImpl array, int offset, int length)`
Get detailed information about a object array
`Object`
IObjectReader.`readPrimitiveArrayContent(PrimitiveArrayImpl array, int offset, int length)`
Get detailed information about a primitive array

## Uses of SnapshotException in org.eclipse.mat.parser.index

Methods in org.eclipse.mat.parser.index that throw SnapshotException
Modifier and Type
Method
Description
`int[]`
IIndexReader.IOne2ManyObjectsIndex.`getObjectsOf(Serializable key)`
Get the object IDs corresponding to the input key

## Uses of SnapshotException in org.eclipse.mat.parser.internal

Methods in org.eclipse.mat.parser.internal that throw SnapshotException
Modifier and Type
Method
Description
`static void`
DominatorTree.`calculate(SnapshotImpl snapshot, IProgressListener listener)`
`void`
SnapshotImpl.`calculateDominatorTree(IProgressListener listener)`
Calculates the dominator tree after a parse
`void`
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.
`SnapshotImpl`
SnapshotImplBuilder.`create(ParserRegistry.Parser parser, IProgressListener listener)`
`IOQLQuery`
SnapshotFactoryImpl.`createQuery(String queryString)`
`Collection<IClass>`
SnapshotImpl.`getClasses()`
`Collection<IClass>`
SnapshotImpl.`getClassesByName(String name, boolean includeSubClasses)`
`Collection<IClass>`
SnapshotImpl.`getClassesByName(Pattern namePattern, boolean includeSubClasses)`
`IClass`
SnapshotImpl.`getClassOf(int objectId)`
`DominatorsSummary`
SnapshotImpl.`getDominatorsOf(int[] objectIds, Pattern excludePattern, IProgressListener progressListener)`
`GCRootInfo[]`
SnapshotImpl.`getGCRootInfo(int objectId)`
`int[]`
SnapshotImpl.`getGCRoots()`
`long`
SnapshotImpl.`getHeapSize(int objectId)`
`long`
SnapshotImpl.`getHeapSize(int[] objectIds)`
`Histogram`
SnapshotImpl.`getHistogram(int[] objectIds, IProgressListener progressMonitor)`
`Histogram`
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)`
`IMultiplePathsFromGCRootsComputer`
SnapshotImpl.`getMultiplePathsFromGCRoots(int[] objectIds, Map<IClass,Set<String>> excludeList)`
`IObject`
SnapshotImpl.`getObject(int objectId)`
`int[]`
SnapshotImpl.`getOutboundReferentIds(int objectId)`
`int[]`
SnapshotImpl.`getOutboundReferentIds(int[] objectIds, IProgressListener progressMonitor)`
`IPathsFromGCRootsComputer`
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.
`IThreadStack`
SnapshotImpl.`getThreadStack(int objectId)`
`int[]`
SnapshotImpl.`getTopAncestorsInDominatorTree(int[] objectIds, IProgressListener listener)`
`int`
SnapshotImpl.`mapAddressToId(long objectAddress)`
`long`
SnapshotImpl.`mapIdToAddress(int objectId)`
`ISnapshot`
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

Methods in org.eclipse.mat.parser.internal.oql that throw SnapshotException
Modifier and Type
Method
Description
`Object`
OQLQueryImpl.`execute(ISnapshot snapshot, IProgressListener monitor)`

## Uses of SnapshotException in org.eclipse.mat.parser.internal.oql.compiler

Methods in org.eclipse.mat.parser.internal.oql.compiler that throw SnapshotException
Modifier and Type
Method
Description
`abstract Object`
Expression.`compute(EvaluationContext ctx)`
`Object`
QueryExpression.`compute(EvaluationContext ctx)`

## Uses of SnapshotException in org.eclipse.mat.parser.internal.snapshot

Methods in org.eclipse.mat.parser.internal.snapshot that throw SnapshotException
Modifier and Type
Method
Description
`Object[]`
MultiplePathsFromGCRootsComputerImpl.`getAllPaths(IProgressListener progressListener)`
`MultiplePathsFromGCRootsRecord[]`
MultiplePathsFromGCRootsComputerImpl.`getPathsByGCRoot(IProgressListener progressListener)`
`MultiplePathsFromGCRootsClassRecord[]`
MultiplePathsFromGCRootsComputerImpl.`getPathsGroupedByClass(boolean startFromTheGCRoots, IProgressListener progressListener)`
`int`
IObjectMarker.`markSingleThreaded(ExcludedReferencesDescriptor[] excludeSets, ISnapshot snapshot)`
`int`
ObjectMarker.`markSingleThreaded(ExcludedReferencesDescriptor[] excludeSets, ISnapshot snapshot)`
`int`
ObjectMarkerOld.`markSingleThreaded(ExcludedReferencesDescriptor[] excludeSets, ISnapshot snapshot)`
`HistogramBuilderResolverData`
IHistogramBuilderResolver.`resolve(int classId)`
Deprecated.
`Histogram`
HistogramBuilder.`toHistogram(SnapshotImpl snapshot, boolean isDefaultHistogram)`
Constructors in org.eclipse.mat.parser.internal.snapshot that throw SnapshotException
Modifier
Constructor
Description
``
`MultiplePathsFromGCRootsComputerImpl(int[] objectIds, Map<IClass,Set<String>> excludeMap, SnapshotImpl snapshot)`

## Uses of SnapshotException in org.eclipse.mat.parser.model

Methods in org.eclipse.mat.parser.model that throw SnapshotException
Modifier and Type
Method
Description
`long`
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)`
`static final List<IClass>`
ClassLoaderImpl.`doGetDefinedClasses(ISnapshot dump, int classLoaderId)`
Gets the classes defined by a given loader
`static 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.
`List<IClass>`
ClassLoaderImpl.`getDefinedClasses()`
`GCRootInfo[]`
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)`
Constructors in org.eclipse.mat.parser.model that throw SnapshotException
Modifier
Constructor
Description
``
`XClassHistogramRecord(ClassImpl classInstance)`
Create an XClassHistogramRecord by retrieving information from the class

## Uses of SnapshotException in org.eclipse.mat.query

Methods in org.eclipse.mat.query that throw SnapshotException
Modifier and Type
Method
Description
`void`
ContextDerivedData.DerivedCalculator.`calculate(ContextDerivedData.DerivedOperation operation, Object row, IProgressListener listener)`
Do the calculation for the row.
`String`
IQueryContext.`convertToString(Class<?> type, Argument.Advice advice, Object value)`
Convert the value to a string.
`Object`
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.
`String`
IQueryContext.`mapToExternalIdentifier(int objectId)`
Map an id to a readable form.
`int`
IQueryContext.`mapToObjectId(String externalIdentifier)`
Map readable form to internal id.
`Object`
IQueryContext.`parse(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos)`
Consume the special data.

## Uses of SnapshotException in org.eclipse.mat.query.quantize

Methods in org.eclipse.mat.query.quantize that throw SnapshotException
Modifier and Type
Method
Description
`void`
Quantize.`addValue(int[] objectIds, Object... columnValues)`
Add one value to the quantize function representing a set of objects.
`void`
Quantize.`addValue(int objectId, Object... columnValues)`
Add one value to the quantize function representing one heap object.

## Uses of SnapshotException in org.eclipse.mat.query.refined

Methods in org.eclipse.mat.query.refined that throw SnapshotException
Modifier and Type
Method
Description
`void`
RefinedStructuredResult.`calculate(ContextProvider provider, ContextDerivedData.DerivedOperation operation, List<?> elements, RefinedStructuredResult.ICalculationProgress progress, IProgressListener listener)`

## Uses of SnapshotException in org.eclipse.mat.query.registry

Methods in org.eclipse.mat.query.registry that throw SnapshotException
Modifier and Type
Method
Description
`Object`
ArgumentFactory.`build(ArgumentDescriptor descriptor)`
`String`
QueryContextImpl.`convertToString(Class<?> type, Argument.Advice advice, Object value)`
`Object`
QueryContextImpl.`convertToValue(Class<?> type, Argument.Advice advice, String value)`
`ArgumentSet`
QueryDescriptor.`createNewArgumentSet(IQueryContext context)`
Create ArgumentSet.
`QueryResult`
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)`
`QueryResult`
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)`
`Queries`
Queries.`set(String name, Object value)`

## Uses of SnapshotException in org.eclipse.mat.report

Methods in org.eclipse.mat.report that throw SnapshotException
Modifier and Type
Method
Description
`ITestResult.Status`
TestSuite.`execute(IProgressListener listener)`
Constructors in org.eclipse.mat.report that throw SnapshotException
Modifier
Constructor
Description
``
`Builder(File specFile)`
``
`Builder(String identifier)`

## Uses of SnapshotException in org.eclipse.mat.report.internal

Methods in org.eclipse.mat.report.internal that throw SnapshotException
Modifier and Type
Method
Description
`abstract AbstractPart`
AbstractPart.`execute(IQueryContext context, ResultRenderer renderer, IProgressListener listener)`
`AbstractPart`
LinkedPart.`execute(IQueryContext context, ResultRenderer renderer, IProgressListener listener)`
`AbstractPart`
QueryPart.`execute(IQueryContext context, ResultRenderer renderer, IProgressListener listener)`
`AbstractPart`
SectionPart.`execute(IQueryContext context, ResultRenderer renderer, IProgressListener listener)`

## Uses of SnapshotException in org.eclipse.mat.snapshot

Subclasses of SnapshotException in org.eclipse.mat.snapshot
Modifier and Type
Class
Description
`class`
`MultipleSnapshotsException`
Multiple snapshots found in a dump when no particular dump has been requested.
`class`
`OQLParseException`
Exception thrown by the OQL parser.
Methods in org.eclipse.mat.snapshot that throw SnapshotException
Modifier and Type
Method
Description
`long`
ClassHistogramRecord.`calculateRetainedSize(ISnapshot snapshot, boolean calculateIfNotAvailable, boolean approximation, IProgressListener listener)`
Find out the retained size
`long`
ClassLoaderHistogramRecord.`calculateRetainedSize(ISnapshot snapshot, boolean calculateIfNotAvailable, boolean approximation, IProgressListener listener)`
Find out the retained size
`static IOQLQuery`
SnapshotFactory.`createQuery(String queryString)`
Factory to create an OQL Query.
`IOQLQuery`
SnapshotFactory.Implementation.`createQuery(String queryString)`
Run an OQL query
`Object`
IOQLQuery.`execute(ISnapshot snapshot, IProgressListener monitor)`
Execute the OQL query.
`Object[]`
IMultiplePathsFromGCRootsComputer.`getAllPaths(IProgressListener progressListener)`
Calculates (if not yet calculated) and returns all the paths.
`Collection<IClass>`
ISnapshot.`getClasses()`
Get all classes.
`Collection<IClass>`
ISnapshot.`getClassesByName(String name, boolean includeSubClasses)`
Get all classes by name.
`Collection<IClass>`
ISnapshot.`getClassesByName(Pattern namePattern, boolean includeSubClasses)`
Get all classes by name pattern.
`IClass`
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.
`DominatorsSummary`
ISnapshot.`getDominatorsOf(int[] objectIds, Pattern excludePattern, IProgressListener progressListener)`
Get a summary of the dominators for all the given objects.
`GCRootInfo[]`
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.
`Histogram`
ISnapshot.`getHistogram(int[] objectIds, IProgressListener progressListener)`
Get histogram for some specific objects - usually the result of other calls to the snapshot.
`Histogram`
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.
`IMultiplePathsFromGCRootsComputer`
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.
`IObject`
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.
`MultiplePathsFromGCRootsRecord[]`
IMultiplePathsFromGCRootsComputer.`getPathsByGCRoot(IProgressListener progressListener)`
Calculates (if not yet calculated) and returns all the paths.
`IPathsFromGCRootsComputer`
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.
`IThreadStack`
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[]`
MultiplePathsFromGCRootsClassRecord.`nextLevel()`
Go down to the next level
`ISnapshot`
SnapshotFactory.Implementation.`openSnapshot(File file, Map<String,String> arguments, IProgressListener listener)`
Opens a snapshot
`static 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

Methods in org.eclipse.mat.snapshot.acquire that throw SnapshotException
Modifier and Type
Method
Description
`File`
IHeapDumpProvider.`acquireDump(VmInfo info, File preferredLocation, IProgressListener listener)`
Acquire a heap dump from a locally running Java process.
`List<? extends VmInfo>`
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

Methods in org.eclipse.mat.snapshot.extension that throw SnapshotException
Modifier and Type
Method
Description
`void`
IRequestDetailsResolver.`complement(ISnapshot snapshot, IThreadInfo thread, int[] javaLocals, int thisJavaLocal, IProgressListener listener)`
Add extra details
`void`
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.
`String`
IClassSpecificNameResolver.`resolve(IObject object)`
Resolve the name for snapshot object.
`String`
ITroubleTicketResolver.`resolveByClass(IClass clazz, IProgressListener listener)`
Return a proposal for the component (e.g.
`String`
ITroubleTicketResolver.`resolveByClassLoader(IClassLoader classLoader, IProgressListener listener)`
Return a proposal for the component (e.g.

## Uses of SnapshotException in org.eclipse.mat.snapshot.model

Methods in org.eclipse.mat.snapshot.model that throw SnapshotException
Modifier and Type
Method
Description
`boolean`
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.
`List<IClass>`
IClassLoader.`getDefinedClasses()`
Returns the classes defined by this class loader instance.
`GCRootInfo[]`
IObject.`getGCRootInfo()`
Get `GCRootInfo` if the object is a garbage collection root or null otherwise.
`IObject`
ObjectReference.`getObject()`
Get a detailed view of the object.
`int`
ObjectReference.`getObjectId()`
The id of the object
`int[]`
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 a `java.lang.String` object into a String.
`Object`
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

Methods in org.eclipse.mat.snapshot.query that throw SnapshotException
Modifier and Type
Method
Description
`IResultPie.Slice`
PieFactory.`addSlice(int objectId)`
Create and add a new slice for the given object.
`IResultPie.Slice`
PieFactory.`addSlice(int objectId, Color color)`
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.
`IResult`
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`
SnapshotQuery.`lookup(String name, ISnapshot snapshot)`
Factory method to create a query by name.
`static SnapshotQuery`
SnapshotQuery.`parse(String commandLine, ISnapshot snapshot)`
Factory method to create a query by command line, i.e.
`IResult`
TQuantize.`process(IProgressListener listener)`
Create distribution based on the given table.
`RefinedResultBuilder`
SnapshotQuery.`refine(IProgressListener listener)`
Execute the query and return a `RefinedResultBuilder` which allows for filtering, sorting and limiting of the result.
`SnapshotQuery`
SnapshotQuery.`set(String name, Object value)`
Deprecated.
use setArgument() instead
`SnapshotQuery`
SnapshotQuery.`setArgument(String name, Object value)`
Set the argument identified by `name`.
`static TQuantize.Builder`
TQuantize.`valueDistribution(ISnapshot snapshot, IResultTable base, int... columns)`
Creates a `TQuantize` object which aggregates the table by the value of the columns.
`static TQuantize.Builder`
TQuantize.`valueDistribution(ISnapshot snapshot, IResultTable base, TQuantize.Target target)`
Creates a `TQuantize` object which aggregates the table by one of the well-known targets, e.g.

## Uses of SnapshotException in org.eclipse.mat.ui

Methods in org.eclipse.mat.ui that throw SnapshotException
Modifier and Type
Method
Description
`static 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

Methods in org.eclipse.mat.ui.internal.acquire that throw SnapshotException
Modifier and Type
Method
Description
`String`
ProviderContextImpl.`mapToExternalIdentifier(int objectId)`
`int`
ProviderContextImpl.`mapToObjectId(String externalIdentifier)`
`Object`
ProviderContextImpl.`parse(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos)`

## Uses of SnapshotException in org.eclipse.mat.ui.internal.browser

Methods in org.eclipse.mat.ui.internal.browser that throw SnapshotException
Modifier and Type
Method
Description
`void`
QueryBrowserPopup.Element.`execute(MultiPaneEditor editor, boolean forcePrompt)`

## Uses of SnapshotException in org.eclipse.mat.ui.internal.query.arguments

Methods in org.eclipse.mat.ui.internal.query.arguments that throw SnapshotException
Modifier and Type
Method
Description
`abstract void`
ArgumentEditor.`setValue(Object value)`
`void`
BooleanComboEditor.`setValue(Object value)`
`void`
CheckBoxEditor.`setValue(Object value)`
`void`
EnumComboEditor.`setValue(Object value)`
`void`
FileOpenDialogEditor.`setValue(Object value)`
`void`
LinkEditor.`setValue(Object value)`
`void`
SnapshotSelectionEditor.`setValue(Object value)`
`void`
TextEditor.`setValue(Object value)`

## Uses of SnapshotException in org.eclipse.mat.ui.util

Methods in org.eclipse.mat.ui.util that throw SnapshotException
Modifier and Type
Method
Description
`boolean`
QueryContextMenu.`anyInstances(ISnapshot snapshot, String cn)`
`boolean`
QueryContextMenu.`instanceOf(ISnapshot snapshot, int o, String className)`
Instanceof test which works for simple objects and arrays
`boolean`
QueryContextMenu.`instanceOf(ISnapshot snapshot, IClass cls, String className)`
Instanceof test which works for simple object and array types