Uses of Class
com.jrockit.memleak.spi.SpiException

Packages that use SpiException
com.jrockit.memleak Provides classes and interfaces for obtaining memory leak information from a Oracle JRockit virtual machine 
com.jrockit.memleak.mlp   
com.jrockit.memleak.spi   
com.jrockit.memleak.util   
com.jrockit.memleak.value   
 

Uses of SpiException in com.jrockit.memleak
 

Subclasses of SpiException in com.jrockit.memleak
 class ConnectionClosedException
          Specialized kind of IOException thrown when a IMemLeak operation is attempted but the connection already has been closed, unintentionally due to an IOException, or intentionally such as by IMemLeak.destroy().
 

Methods in com.jrockit.memleak that throw SpiException
 void IMemLeak.deleteAllObjectIds()
          Delete all object IDs.
 void IMemLeak.deleteObjectId(int objectId)
          Delete the given object ID.
 void IMemLeak.deleteObjectId(IObjectSpecifier objectSpec)
          FIXME: Fix comments, rename to dropRef() or similar.
 void IMemLeak.disableAllocTraces()
          Stop sending allocation traces.
 void IMemLeak.doFullGC()
          Cause a full Garbage Collect to happen on the server.
 void IMemLeak.enableAllocTracesForClass(ITypeSpecifier type, int bufferSize, int interval, AllocTraceCallback callback)
          Enable traces for allocations of a certain type.
 void IMemLeak.enableAllocTracesForClass(java.lang.String type, int bufferSize, int interval, AllocTraceCallback callback)
          Enable traces for allocations of a certain type.
 V IResult.get()
          The actual result.
<T> T
Policy.getAcceptable(IResult<T> result)
           
<T> T
Policy.TokenPolicy.getAcceptable(IResult<T> result)
           
 int IMemLeak.getAllocTraceFrequency()
          Get the current allocation trace report interval.
 int IMemLeak.getArrayLength(IObjectSpecifier objectSpec)
          Get the length of an array.
 IClassRef[] IMemLeak.getClasses(ITypeSpecifier specifier, Policy policy)
          Requires Feature.CLASS_IDS.
 IClassRef[] IMemLeak.getClasses(java.lang.String className, Policy policy)
          Requires Feature.CLASS_IDS.
 IClassInfo IMemLeak.getClassInfo(IClassRef classRef)
          Requires Feature.CLASS_NAME_OF_OBJECT.
 IHeapHistogram IMemLeak.getHeapHistogram()
          Get a histogram of the heap.
 ITruncatable<IRelationshipInfo> IMemLeak.getInstanceRelationships(ITypeSpecifier fromType, ITypeSpecifier toType, int maxRelations, long stopAt, int maxMillis)
          Get all instances of fromType that points to instances of toType.
 ITruncatable<IRelationshipInfo> IMemLeak.getInstanceRelationships(java.lang.String fromType, java.lang.String toType, int maxRelations, long stopAt, int maxMillis)
          Get all instances of fromType that points to instances of toType.
 ITruncatable<IObjectInfo> IMemLeak.getInstances(IClassRef classRef, int maxInstances)
          Requires Feature.INSTANCES_OF_TYPE.
 IInstanceReferrers IMemLeak.getInstancesPointingTo(IObjectSpecifier objectSpec, Policy policy)
          Find all instances pointing to this object id.
 java.lang.Object IMemLeak.getMetaData(java.lang.Object key)
          Obtain meta data for this connection.
 ITruncatable<IInstanceReferrers> IMemLeak.getPathPointingTo(IObjectSpecifier objectSpec, int maxDepth, int maxMillis)
          Find a path from a GC root to the object denoted by objectSpec.
 IPointToTypeInfo[] IMemLeak.getTypesPointingTo(ITypeSpecifier type, Policy policy)
          Find which types contain references to another type.
 IPointToTypeInfo[] IMemLeak.getTypesPointingTo(java.lang.String type, Policy policy)
          Find which types contain references to another type.
 boolean IMemLeak.isAllocTracesEnabled()
          Check if allocation traces are already enabled.
 boolean IMemLeak.isTrendAnalysisEnabled()
          Check whether trend analysis is enabled on the server.
 void IMemLeak.pollAllocationTraces()
          If allocation traces is enabled, poll the buffer on the server for any traces not yet sent to the client.
 void IMemLeak.setAllocTraceFrequency(int reportInterval)
          Changes the number of allocations that has to occur before an allocation trace will be reported.
 void IMemLeak.setTrendAnalysisCallback(TrendAnalysisCallback cb)
          Sets the callback that will be called, with the latest trend analysis, for each Garbage Collect that occurs when trend analysis is enabled.
 void IMemLeak.setTrendAnalysisEnabled(boolean enabled)
          Enable or disable trend analysis.
 

Uses of SpiException in com.jrockit.memleak.mlp
 

Subclasses of SpiException in com.jrockit.memleak.mlp
 class MLPException
          Exception for MemLeak protocol related problems, including nested IOExceptions.
 

Methods in com.jrockit.memleak.mlp that throw SpiException
protected  void AbstractMemLeak.checkSupported(RequestType requestType)
          Is the given request type supported by the server?
static IMemLeak AbstractMemLeak.createMemLeak(java.net.Socket socket, int port)
          Convenience constructor for testing.
static IMemLeak AbstractMemLeak.createMemLeak(java.lang.String host, int port)
          Create a new IMemLeak instance which will be connected to the server.
 void MemLeakR28.deleteAllObjectIds()
           
 void MemLeakR28.deleteObjectId(int objectId)
           
 void AbstractMemLeak.deleteObjectId(int objectId)
           
 void AbstractMemLeak.disableAllocTraces()
           
 void AbstractMemLeak.doFullGC()
           
 void AbstractMemLeak.enableAllocTracesForClass(ITypeSpecifier type, int bufferSize, int interval, AllocTraceCallback callback)
           
 java.lang.Void AbstractMemLeak.VoidResult.get()
           
 V AbstractMemLeak.DelayedResult.get()
           
 int AbstractMemLeak.getAllocTraceFrequency()
           
 int MemLeakR28.getArrayLength(IObjectSpecifier objectSpec)
           
 int AbstractMemLeak.getArrayLength(IObjectSpecifier objectSpec)
           
 IClassRef[] MemLeakR28.getClasses(ITypeSpecifier type, Policy policy)
           
 IClassInfo MemLeakR28.getClassInfo(IClassRef classRef)
           
 IClassInfo MemLeakR26.getClassInfo(IClassRef classRef)
           
protected  IClassInfo MemLeakR28.getClassInfo(int classID)
          Find the IClassInfo cached locally, or if not found, retrieve it from the server.
 int[] MemLeakR28.getDiscardedIDs(IObjectSpecifier... objectSpecs)
           
 IHeapHistogram AbstractMemLeak.getHeapHistogram()
           
protected  java.io.DataInputStream MemLeakR28.getInputStreamHandlingDiscarded(com.jrockit.memleak.mlp.ServerResponse response, IObjectSpecifier objectSpec)
          Create input stream from response, but in case of a GarbageCollectedException, also mark the IObjectInfo corresponding to objectSpec as discarded, if possible.
protected  java.io.DataInputStream MemLeakR28.getInspectStreamHandlingDiscarded(com.jrockit.memleak.mlp.ServerResponse response, IObjectSpecifier objectSpec)
          Create input stream from response, but in case of a GarbageCollectedException, also mark the IObjectInfo corresponding to objectSpec as discarded, if possible.
 ITruncatable<IRelationshipInfo> MemLeakR28.getInstanceRelationships(ITypeSpecifier fromType, ITypeSpecifier toType, int maxRelations, long stopAt, int maxMillis)
           
 ITruncatable<IRelationshipInfo> MemLeakR26.getInstanceRelationships(ITypeSpecifier fromType, ITypeSpecifier toType, int maxRelations, long stopAt, int maxMillis)
           
 ITruncatable<IObjectInfo> MemLeakR28.getInstances(IClassRef classRef, int maxInstances)
           
 IInstanceReferrers MemLeakR28.getInstancesPointingTo(IObjectSpecifier objectSpec, Policy policy)
           
 IInstanceReferrers MemLeakR26.getInstancesPointingTo(IObjectSpecifier objectSpec, Policy policy)
           
 java.lang.Object MemLeakR28.getMetaData(java.lang.Object key)
           
 java.lang.Object AbstractMemLeak.getMetaData(java.lang.Object key)
           
protected  IObjectInfo MemLeakR28.getObjectInfoBlocking(int objID)
          Find the IObjectInfo cached locally, or if not found, retrieve it from the server.
 ITruncatable<IInstanceReferrers> MemLeakR28.getPathPointingTo(IObjectSpecifier objectSpec, int maxDepth, int maxMillis)
           
protected  int[] MemLeakR28.getRequestRevisions()
          Experimental, for testing only, to determine request revisions.
protected  java.util.EnumSet<RequestType> AbstractMemLeak.getSupportedRequests()
          Experimental, for testing only, to determine supported request types.
 IPointToTypeInfo[] AbstractMemLeak.getTypesPointingTo(ITypeSpecifier type, Policy policy)
           
 boolean AbstractMemLeak.isAllocTracesEnabled()
           
 boolean AbstractMemLeak.isTrendAnalysisEnabled()
           
protected  ITrace[] MemLeakR28.parseAllocTraces(java.io.DataInputStream dis)
           
protected  ITrace[] MemLeakR26.parseAllocTraces(java.io.DataInputStream dis)
           
protected abstract  ITrace[] AbstractMemLeak.parseAllocTraces(java.io.DataInputStream dis)
           
protected  IClassInfo MemLeakR28.parseClass(java.io.DataInputStream dis)
           
protected abstract  IClassInfo AbstractMemLeak.parseClass(java.io.DataInputStream dis)
          Read a class from a stream, obtaining data required, but not provided in the stream, from caches or by implicit sub-requests.
protected  IClassRef MemLeakR28.parseClassRef(java.io.DataInputStream dis)
           
protected  IClassRef MemLeakR26.parseClassRef(java.io.DataInputStream dis)
           
protected abstract  IClassRef AbstractMemLeak.parseClassRef(java.io.DataInputStream dis)
          Read a class from a stream, obtaining data required, but not provided in the stream, from caches or by implicit sub-requests.
protected  IClassInfo MemLeakR28.parseClassWithMetaData(java.io.DataInputStream dis)
          Parse a class ID followed by meta data.
protected  IFieldValue[] MemLeakR28.parseFieldValues(java.io.DataInputStream dis, boolean onlyStatics)
           
protected  IFieldValue[] MemLeakR26.parseFieldValues(java.io.DataInputStream dis, boolean onlyStatics)
           
protected abstract  IFieldValue[] AbstractMemLeak.parseFieldValues(java.io.DataInputStream dis, boolean onlyStatics)
           
protected  IHeapHistogram AbstractMemLeak.parseHeapUsage(java.io.DataInputStream dis, double histogramCutoff)
           
protected  IInstanceReferrers MemLeakR28.parseInstancePointingTo(java.io.DataInputStream dis)
           
protected  IMethodInfo MemLeakR28.parseMethodInfo(java.io.DataInputStream dis)
           
protected abstract  IMethodInfo AbstractMemLeak.parseMethodInfo(java.io.DataInputStream dis)
           
protected  IObjectInfo MemLeakR28.parseObject(java.io.DataInputStream dis)
           
protected abstract  IObjectInfo AbstractMemLeak.parseObject(java.io.DataInputStream dis)
           
protected  IObjectInfo MemLeakR28.parseObject(java.io.DataInputStream dis, IClassInfo classInfo)
           
protected abstract  IObjectInfo AbstractMemLeak.parseObject(java.io.DataInputStream dis, IClassInfo classInfo)
           
protected  IObjectInfo MemLeakR26.parseObjectAndClass(java.io.DataInputStream dis)
          Used where there traditionally has been an object ID followed by a class name.
protected  IObjectSpecifier MemLeakR28.parseObjectSpec(java.io.DataInputStream dis)
           
protected abstract  IObjectSpecifier AbstractMemLeak.parseObjectSpec(java.io.DataInputStream dis)
           
protected  IArraySizeInfo[] MemLeakR28.LargestArrayR28.parseResponse(java.io.DataInputStream dis)
           
protected  int[] MemLeakR28.GetClassesR28.parseResponse(java.io.DataInputStream dis)
           
protected  IRelationshipInfo[] MemLeakR28.GetInstanceRelationshipsR28.parseResponse(java.io.DataInputStream dis)
           
protected  IArraySizeInfo[] MemLeakR26.LargestArrayR26.parseResponse(java.io.DataInputStream dis)
           
protected abstract  T AbstractMemLeak.ReqProcessor.parseResponse(java.io.DataInputStream dis)
           
protected abstract  V AbstractMemLeak.DelayedResult.parseResponse(java.io.DataInputStream dis)
           
protected abstract  T[] AbstractMemLeak.DelayedTruncatable.parseResponse(java.io.DataInputStream dis)
           
protected  IPointToTypeInfo AbstractMemLeak.parseTypesPointingTo(java.io.DataInputStream dis)
           
 void AbstractMemLeak.pollAllocationTraces()
           
 void AbstractMemLeak.setAllocTraceFrequency(int reportInterval)
           
 void AbstractMemLeak.setTrendAnalysisCallback(TrendAnalysisCallback cb)
           
 void AbstractMemLeak.setTrendAnalysisEnabled(boolean enabled)
           
 boolean MemLeakR28.setVerboseMLP(MlpVerbosity objects, MlpVerbosity classes, MlpVerbosity classLoaders)
          Attempt to set protocol verbosity.
protected  boolean AbstractMemLeak.supportsRequest(RequestType requestType)
          Is the given request type supported by the server?
 

Constructors in com.jrockit.memleak.mlp that throw SpiException
MemLeakR28(com.jrockit.memleak.mlp.CommunicationChannel channel, int port)
          Create a new instance for the established connection.
 

Uses of SpiException in com.jrockit.memleak.spi
 

Subclasses of SpiException in com.jrockit.memleak.spi
 class NoSuchIdException
          At least one object or class ID given as argument was illegal or not an active ID.
 class NotAClassException
          At least one class ID given as argument did not refer to a class.
 class NotAnArrayException
          At least one object or class ID given as argument did not refer to an array instance or class, whatever was expected.
 

Methods in com.jrockit.memleak.spi that throw SpiException
static
<T> T
SpiException.unhandled(java.lang.Exception e)
          Wrap a non-SpiException exception into something that may be thrown, and throw it.
 

Uses of SpiException in com.jrockit.memleak.util
 

Methods in com.jrockit.memleak.util that throw SpiException
 void MemLeakAdapter.deleteAllObjectIds()
           
 void MemLeakAdapter.deleteObjectId(int objectId)
           
 void MemLeakAdapter.deleteObjectId(IObjectSpecifier objectSpec)
           
 void MemLeakAdapter.disableAllocTraces()
           
 void MemLeakAdapter.doFullGC()
           
 void MemLeakAdapter.enableAllocTracesForClass(ITypeSpecifier type, int bufferSize, int interval, AllocTraceCallback callback)
           
 void MemLeakAdapter.enableAllocTracesForClass(java.lang.String type, int bufferSize, int interval, AllocTraceCallback callback)
           
 T LimitCache.get(long limit, Policy policy)
           
 int MemLeakAdapter.getAllocTraceFrequency()
           
 int MemLeakAdapter.getArrayLength(IObjectSpecifier objectSpec)
           
 IClassRef[] MemLeakAdapter.getClasses(ITypeSpecifier type, Policy policy)
           
 IClassRef[] MemLeakAdapter.getClasses(java.lang.String className, Policy policy)
           
 IClassInfo MemLeakAdapter.getClassInfo(IClassRef classRef)
           
 IHeapHistogram MemLeakAdapter.getHeapHistogram()
           
 ITruncatable<IRelationshipInfo> MemLeakAdapter.getInstanceRelationships(ITypeSpecifier fromType, ITypeSpecifier toType, int maxRelations, long stopAt, int maxMillis)
           
 ITruncatable<IRelationshipInfo> MemLeakAdapter.getInstanceRelationships(java.lang.String fromType, java.lang.String toType, int maxRelations, long stopAt, int maxMillis)
           
 ITruncatable<IObjectInfo> MemLeakAdapter.getInstances(IClassRef classRef, int maxInstances)
           
 IInstanceReferrers MemLeakAdapter.getInstancesPointingTo(IObjectSpecifier objectSpec, Policy policy)
           
 java.lang.Object MemLeakAdapter.getMetaData(java.lang.Object key)
           
 ITruncatable<IInstanceReferrers> MemLeakAdapter.getPathPointingTo(IObjectSpecifier objectSpec, int maxDepth, int maxMillis)
           
 IPointToTypeInfo[] MemLeakAdapter.getTypesPointingTo(ITypeSpecifier type, Policy policy)
           
 IPointToTypeInfo[] MemLeakAdapter.getTypesPointingTo(java.lang.String type, Policy policy)
           
 boolean MemLeakAdapter.isAllocTracesEnabled()
           
 boolean MemLeakAdapter.isTrendAnalysisEnabled()
           
 void MemLeakAdapter.pollAllocationTraces()
           
 void MemLeakAdapter.setAllocTraceFrequency(int reportInterval)
           
 void MemLeakAdapter.setTrendAnalysisCallback(TrendAnalysisCallback cb)
           
 void MemLeakAdapter.setTrendAnalysisEnabled(boolean enabled)
           
 

Uses of SpiException in com.jrockit.memleak.value
 

Methods in com.jrockit.memleak.value that throw SpiException
 V ExceptionResult.get()
           
 T TimeCache.get(Policy policy)
           
 

Constructors in com.jrockit.memleak.value with parameters of type SpiException
ExceptionResult(SpiException e)
           
 



Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.