|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NotAvailableException | |
---|---|
com.bea.jvm | Provides the interfaces and the factory class for the JRockit management API. |
com.bea.jvm.event | Provides interfaces and classes for dealing with different types of management API events. |
Uses of NotAvailableException in com.bea.jvm |
---|
Methods in com.bea.jvm that throw NotAvailableException | |
---|---|
void |
ClassLibrary.addClassLoadListener(java.lang.ClassLoader loader,
ClassLoadListener listener)
Add a listener to receive event notification of Class load/unload. |
void |
ClassLibrary.addClassLoadListener(ClassLoadListener listener)
Adds a listener to receive event notification of any Class load/unload. |
void |
CompilationSystem.addCompilationListener(CompilationListener listener)
Adds a listener to recieve notification when a method is compiled. |
void |
GarbageCollector.addFinalizationListener(FinalizationListener listener)
Add listener to be notified whenever an Object has been finalized. |
void |
GarbageCollector.addFinalizationListener(FinalizationListener listener,
boolean onlyFailed)
Add listener to be notified whenever an Object has been finalized. |
void |
GarbageCollector.addGarbageCollectionListener(GarbageCollectionListener listener)
Adds a listener to be notified whenever a Garbage Collection run has been performed. |
void |
GarbageCollector.addGarbageCollectionStrategyChangeListener(GarbageCollectionStrategyChangeListener listener)
Adds a listener for the strategy change event (@see GarbageCollectionStrategyChangeEvent). |
boolean |
CompilationSystem.forceCompilation(java.lang.reflect.Constructor constructor)
Force the compiler to generate code for the specified Constructor using the default OptimizationLevel. |
boolean |
CompilationSystem.forceCompilation(java.lang.reflect.Constructor constructor,
CodeGenerationStrategy strategy)
Forces the compiler to generate code for the specified constructor using the specified CodeGenerationStrategy. |
boolean |
CompilationSystem.forceCompilation(java.lang.reflect.Constructor constructor,
OptimizationLevel optLevel)
Deprecated. |
boolean |
CompilationSystem.forceCompilation(java.lang.reflect.Method method)
Force the compiler to generate code for this method using the default OptimizationLevel. |
boolean |
CompilationSystem.forceCompilation(java.lang.reflect.Method method,
CodeGenerationStrategy strategy)
Forces the compiler to generate code for this method using the specified CodeGenerationStrategy. |
boolean |
CompilationSystem.forceCompilation(java.lang.reflect.Method method,
OptimizationLevel optLevel)
Deprecated. Replaced. |
java.util.Collection |
ClassLibrary.getAllClasses()
Find all classes in the JVM (will search through all class loaders, but will not load Classes.) |
java.util.Collection |
ClassLibrary.getAllClasses(java.lang.ClassLoader loader)
Deprecated. This function (for historical reasons) includes only classes defined by the specified ClassLoader, but the name is rather unspecific. Use @link {#getDeclaredClasses(ClassLoader) getDeclaredClasses} or @link {#getInitiatedClasses(ClassLoader) getInitiatedClasses instead. |
java.util.Collection |
ClassLibrary.getAllClasses(java.lang.String className)
Find all classes with this name in the JVM (will search through all class loaders, but will not load the Class if not found.) |
java.util.Collection |
ClassLibrary.getAllClassLoaders()
Returns all the ClassLoaders currently in use. |
java.util.Collection |
ThreadSystem.getAllThreads()
Returns a Collection of all the Threads running in the VM. |
java.lang.Class |
ClassLibrary.getClass(java.lang.String className,
java.lang.ClassLoader loader)
Find an already loaded class in the JVM. |
java.lang.Class |
ClassLibrary.getClass(java.lang.String className,
java.lang.ClassLoader loader,
boolean load)
Find a named class in the JVM. |
ClassLibrary |
JVM.getClassLibrary()
Returns the ClassLibrary. |
ClassPreProcessor |
ClassLibrary.getClassPreProcessor()
Returns the ClassPreProcessor currently in use. |
long |
CPU.getClockFrequency()
Returns the clock frequency of this processor in Hz. |
java.util.List |
CompilationSystem.getCodeGenerationStrategies()
Returns an immutable List of the available CodeGenerationStrategies available in this CompilationSystem, in ascending order, i.e. starting with the lowest level (quick), followed by increasingly advanced strategies. |
CodeGenerationStrategy |
CompilationSystem.getCodeGenerationStrategy(java.lang.reflect.Constructor constructor)
Returns the CodeGenerationStrategy for a Constructor. |
CodeGenerationStrategy |
CompilationSystem.getCodeGenerationStrategy(java.lang.reflect.Method method)
Returns the CodeGenerationStrategy that was used for generating the Method. |
DiagnosticCommand.Command |
DiagnosticCommand.getCommand(java.lang.String name)
Find a named command |
CompilationSystem |
JVM.getCompilationSystem()
Returns the compiler (if available) that is used to generate machine code for methods. |
java.util.List |
Machine.getCPUs()
Returns the CPUs in the machine as an ordered collection (List) of CPU objects. |
int |
ThreadSystem.getDaemonThreadCount()
Returns the number of daemon threads in the system. |
java.util.Collection |
ClassLibrary.getDeclaredClasses(java.lang.ClassLoader loader)
Find all non-array classes declared by this loader. |
java.util.Collection |
GarbageCollector.getGarbageCollectionHeuristics()
Returns a collection of available GarbageCollectionHeuristics (@see GarbageCollectionHeuristic ) in this JVM. |
java.util.Collection |
GarbageCollector.getGarbageCollectionStrategies()
Returns a collection of currently available GarbageCollectionStrategies (@see GarbageCollectionStrategy). |
GarbageCollectionStrategy |
GarbageCollector.getGarbageCollectionStrategy()
Returns the strategy currently being employed by the GarbageCollector. |
GarbageCollector |
MemorySystem.getGarbageCollector()
Returns the GarbageCollector subsystem. |
java.util.Collection |
Machine.getHardwareComponents()
Returns all available hardware components in the system, as a Collection of HardwareComponent. |
long |
MemorySystem.getInitialHeapSize()
Returns the size of the heap when the VM first started. |
java.util.Collection |
ClassLibrary.getInitiatedClasses(java.lang.ClassLoader loader)
Find all non-array classes for which the loader wsa recorded as initiating loader. |
static JVM |
JVMFactory.getJVM()
Returns a JVM instance. |
double |
JVM.getJVMLoad()
Returns the fraction of the load on the machine caused by the JVM. 0.0 means no load is created by the virtual machine, 1.0 means all load is created by the JVM. |
long |
GarbageCollector.getLastGCEnd()
Returns the time the last Garbage Collection run ended. |
long |
GarbageCollector.getLastGCStart()
Returns the time the last Garbage Collection run started. |
double |
CPU.getLoad()
Returns the CPU load on this CPU. |
LoggingSystem |
JVM.getLoggingSystem()
|
Machine |
JVM.getMachine()
Returns the underlying hardware. |
long |
MemorySystem.getMaxHeapSize()
Returns the maximum size the heap may grow to, in bytes. |
MemorySystem |
JVM.getMemorySystem()
Returns the MemorySystem. |
java.lang.String |
OperatingSystem.getName()
Returns the name of the operating system. |
java.lang.String |
JVM.getName()
Returns the JVM name string. |
java.util.Collection |
Machine.getNICs()
Returns the network interface cards as a collection of NIC. |
long |
GarbageCollector.getNurserySize()
Returns the size of the nursery/youngspace in bytes. |
OperatingSystem |
JVM.getOperatingSystem()
Returns the OperatingSystem on which the JVM is run. |
OptimizationLevel |
CompilationSystem.getOptimizationLevel(java.lang.reflect.Constructor constructor)
Deprecated. Replaced. |
OptimizationLevel |
CompilationSystem.getOptimizationLevel(java.lang.reflect.Method method)
Deprecated. Replaced. |
java.util.List |
CompilationSystem.getOptimizationLevels()
Deprecated. Replaced by getCodeGenerationStrategies(). |
long |
GarbageCollector.getPauseTimeTarget()
|
PhysicalMemory |
Machine.getPhysicalMemory()
The physical memory of the hardware. |
java.util.Collection |
JVM.getProcessAffinity()
Returns a collection with the CPUs that the JVM process currently is running on. |
ProfilingSystem |
JVM.getProfilingSystem()
Returns the profiler (if available) used to instrument code being executed. |
long |
JVM.getStartTime()
Returns the time that the JVM process was started. |
long |
MemorySystem.getSuggestedHeapSize()
This method will get the suggested heapsize which was set with suggestHeapSize(). |
java.lang.Thread |
ThreadSystem.getThread(long id)
Returns a thread matching the specified id. |
java.util.Collection |
ThreadSystem.getThreads(java.lang.String name)
Returns a Collection with all the threads with the specified name. |
ThreadSnapshot |
ThreadSystem.getThreadSnapshot(long id)
Get a snapshot of a thread in the JVM. |
ThreadSnapshot |
ThreadSystem.getThreadSnapshot(java.lang.Thread t)
Get a snapshot of a thread in the JVM. |
java.util.Collection |
ThreadSystem.getThreadSnapshots()
Returns a Collection of ThreadSnapshots for all the live threads in the JVM. |
java.util.Collection |
ThreadSystem.getThreadSnapshots(java.lang.String name)
Gets snapshots for the threads matching the specified name. |
java.lang.String |
ThreadSystem.getThreadStackDump()
Convenience method returning a thread stack dump for all live threads in the system. |
ThreadSystem |
JVM.getThreadSystem()
Returns the ThreadSystem. |
long |
ProfilingSystem.getTiming(java.lang.reflect.Constructor constructor)
Deprecated. Use ProfileEntries instead |
long |
ProfilingSystem.getTiming(java.lang.reflect.Method method)
Deprecated. Use ProfileEntries instead |
long |
GarbageCollector.getTotalGarbageCollectionCount()
Returns the total number of collection runs performed so far. |
long |
GarbageCollector.getTotalGarbageCollectionTime()
Returns the total time spent Garabage Collecting so far. |
long |
MemorySystem.getTotalHeapSize()
Returns the size of the heap that the JVM has allocated, in bytes. |
int |
ThreadSystem.getTotalThreadCount()
Returns the total number of running threads in the system, including daemon threads. |
long |
MemorySystem.getUsedHeapSize()
Returns the committed heap size of the JVM in bytes. |
java.lang.String |
JVM.getVendor()
Returns the name of the JVM vendor. |
java.lang.String |
JVM.getVersion()
Returns the JVM version string. |
Memory |
OperatingSystem.getVirtualMemory()
Returns the virtual memory. |
boolean |
GarbageCollector.hasCompaction()
Returns true if this Garbage Collector compacts the heap. |
boolean |
CompilationSystem.isCompiled(java.lang.reflect.Constructor constructor)
Returns boolean true if the Constructor is compiled, false otherwise. |
boolean |
CompilationSystem.isCompiled(java.lang.reflect.Method method)
Returns boolean true if the Method is compiled, false otherwise. |
boolean |
GarbageCollector.isConcurrent()
Returns true if this Garbage Collector at some point collects garbage concurrently, i.e. in a separate thread running concurrently with the other threads. |
boolean |
GarbageCollector.isDynamic()
Returns true if the GC system is running in a dynamic mode, i.e. a mode that allows the strategy to change. |
boolean |
MemorySystem.isExitOnOutOfMemory()
Returns true if the JVM will exit with an error code instead of throwing an OutOfMemoryError, false if it throws an OutOfMemoryError. |
boolean |
GarbageCollector.isGenerational()
Returns true if this memory model at some point uses a nursery/ young-space. |
boolean |
MemorySystem.isHeapSizeLocked()
This method returns false if the heap size is controlled by the JVM, false otherwise. |
boolean |
GarbageCollector.isIncremental()
Returns true if this Garbage Collector collects garbage incrementally (in small steps, train algorithm or similar). |
boolean |
CompilationSystem.isOptimized(java.lang.reflect.Constructor constructor)
Returns boolean true if the constructor is optimized, i.e. has been generated using the optimizing code generation strategy. |
boolean |
CompilationSystem.isOptimized(java.lang.reflect.Method method)
Returns boolean true if the method is optimized, i.e. has been generated using the optimizing code generation strategy. |
boolean |
CompilationSystem.isOptimizing()
This method returns boolean false if optimization is turned off (i.e. the hostspot detector is no longer enqueuing methods for optimization). |
boolean |
GarbageCollector.isParallel()
Returns true if this Garbage Collector at some point runs in parallel on several processors when collecting garbage. |
boolean |
GarbageCollector.isSelfOptimizing()
Returns true if the GC system is running in a mode that will automatically choose GarbageCollectionStrategy for you. |
boolean |
ThreadSystem.isUsingThinThreads()
Returns true if the thread system is using thin treads, false otherwise. |
ConstructorProfileEntry |
ProfilingSystem.newConstructorProfileEntry(java.lang.reflect.Constructor constructor)
|
ExceptionProfileEntry |
ProfilingSystem.newExceptionProfileEntry(java.lang.Class throwAbleClass)
|
MethodProfileEntry |
ProfilingSystem.newMethodProfileEntry(java.lang.reflect.Method method)
|
void |
ClassLibrary.redefineClass(java.lang.Class cl,
byte[] buffer,
int offset,
int length)
Redefines the specified class. |
void |
CompilationSystem.redefineMethod(java.lang.reflect.Method method,
byte[] buffer,
int offset,
int length)
Deprecated. |
void |
ClassLibrary.removeClassLoadListener(ClassLoadListener listener)
Removes the specified ClassLoadListener. |
void |
CompilationSystem.removeCompilationListener(CompilationListener listener)
Removes a listener which recieves notification when a method is compiled. |
void |
GarbageCollector.removeFinalizationListener(FinalizationListener listener)
Removes the specified listener. |
void |
GarbageCollector.removeGarbageCollectionListener(GarbageCollectionListener listener)
Removes the specified GarbageCollectionListener. |
void |
GarbageCollector.removeGarbageCollectionStrategyChangeListener(GarbageCollectionStrategyChangeListener listener)
Removes a strategy change listener (@see GarbageCollectionStrategyChangeEvent). |
void |
ClassLibrary.setClassPreProcessor(ClassPreProcessor preProcessor)
Registers a class preprocessor. |
void |
ExceptionProfileEntry.setCompositeEnabled(boolean on)
sets counting for the specific type and subtypes to enabled or disabled |
void |
RunnableMemberProfileEntry.setEnabled(boolean invocations,
boolean timing)
sets the minimum state of profiling required |
void |
MemorySystem.setExitOnOutOfMemory(boolean exit)
This method will change whether the JVM will exit with an error code, instead of throwing an OutOfMemoryError. |
void |
MemorySystem.setHeapSizeLocked(boolean lock)
This method changes the JVM's ability to adaptively change the heap size. |
void |
RunnableMemberProfileEntry.setInvocationCountEnabled(boolean on)
sets the minimum state of profiling required |
void |
ProfilingSystem.setInvocationCountEnabled(java.lang.reflect.Constructor constructor,
boolean enable)
Deprecated. Use ProfileEntries instead |
void |
ProfilingSystem.setInvocationCountEnabled(java.lang.reflect.Method method,
boolean enable)
Deprecated. Use ProfileEntries instead |
void |
GarbageCollector.setNurserySize(long nurserySize)
Sets the nursery size. |
void |
CompilationSystem.setOptimizing(boolean optimize)
This method will turn on or off optimizations. |
void |
GarbageCollector.setPauseTimeTarget(long target)
Sets the pausetime target, i.e. the memory system will try its best to make sure the longest pausetime never exceeds this value. |
void |
ExceptionProfileEntry.setSingleEnabled(boolean on)
sets counting for the specific type to enabled or disabled |
void |
RunnableMemberProfileEntry.setTimingEnabled(boolean on)
sets the minimum state of profiling required |
void |
ProfilingSystem.setTimingEnabled(java.lang.reflect.Constructor constructor,
boolean enable)
Deprecated. Use ProfileEntries instead |
void |
ProfilingSystem.setTimingEnabled(java.lang.reflect.Method method,
boolean enable)
Deprecated. Use ProfileEntries instead |
void |
GarbageCollector.suggestGarbageCollectionHeuristic(GarbageCollectionHeuristic heuristic)
Suggests a garbage collector heuristic. |
void |
GarbageCollector.suggestGarbageCollectionStrategy(GarbageCollectionStrategy strategy)
Suggests a static garbage collector strategy to the system. |
void |
MemorySystem.suggestHeapSize(long heapSize)
This method will suggest the heapsize to be used. |
void |
JVM.suggestProcessAffinity(java.util.Collection cpuCollection)
Suggests the process affinity. |
Uses of NotAvailableException in com.bea.jvm.event |
---|
Methods in com.bea.jvm.event that throw NotAvailableException | |
---|---|
java.lang.reflect.Constructor |
CompilationEvent.getConstructor()
Returns the Constructor that was compiled, which ultimately caused this event to be created. |
java.lang.reflect.Method |
CompilationEvent.getMethod()
Returns the Method that was compiled, which ultimately caused this event to be created. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |