Skip navigation links
OpenJ9 Shared Classes
A C D E F G H I J M N P S 

A

acceptFind(String) - Method in interface com.ibm.oti.shared.SharedClassFilter
Tests if the helper should try to find a specified class in the shared class cache
acceptStore(String) - Method in interface com.ibm.oti.shared.SharedClassFilter
Tests if a specified class should be stored in the shared class cache
add(Permission) - Method in class com.ibm.oti.shared.SharedClassPermissionCollection
Adds a permission to this collection.
addClasspathEntry(URL) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Updates the helper's classpath by appending a URL (see Usage).
ADDRESS_MODE_32 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a 32-bit cache.
ADDRESS_MODE_64 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a 64-bit cache.

C

cacheDir() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the cache directory.
cacheName() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the cache name.
cachePath() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the full cache path.
CannotSetClasspathException - Exception in com.ibm.oti.shared
Exception thrown if an attempt is made to modify confirmed elements of a classpath in SharedClassURLClasspathHelper.
CannotSetClasspathException(String) - Constructor for exception com.ibm.oti.shared.CannotSetClasspathException
Creates a new CannotSetClasspathException.
com.ibm.oti.shared - package com.ibm.oti.shared
The OpenJ9 shared classes API, a persistent share which can contain classes, precompiled code (AOT), JIT data, and other data used to improve start up performance and reduce memory footprint.
COMPRESSED_REFS - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a compressedRefs cache.
COMPRESSED_REFS_UNKNOWN - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
The compressedRefs mode is unknown for the cache.
confirmAllEntries() - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Confirms all entries in the current classpath.

D

DESTROY_FAILED_CURRENT_GEN_CACHE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate that the method has failed to destroy the current generation cache.
DESTROY_FAILED_OLDER_GEN_CACHE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate that the method has failed to destroy one or more older generation caches, and either a current generation cache does not exist or is successfully destroyed.
DESTROYED_ALL_CACHE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate either no cache exists or the method has successfully destroyed caches of all generations.
DESTROYED_NONE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate that the method failed to destroy any cache.
destroySharedCache(String, int, String, boolean) - Static method in class com.ibm.oti.shared.SharedClassUtilities
Destroys a named shared class cache of a given type in a given directory.

E

elements() - Method in class com.ibm.oti.shared.SharedClassPermissionCollection
Returns permissions as an enumeration.
equals(Object) - Method in class com.ibm.oti.shared.SharedClassPermission
Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.

F

findHelperForClassLoader(ClassLoader) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Utility function that returns a SharedClassHelper for a given ClassLoader.
findSharedClass(String, String) - Method in interface com.ibm.oti.shared.SharedClassTokenHelper
Finds a class in the shared cache by using a specific token and class name.
findSharedClass(String, SharedClassURLClasspathHelper.IndexHolder) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Finds a class in the shared cache by using the class name given (implicitly using the caller's classpath).
findSharedClass(String, String, SharedClassURLClasspathHelper.IndexHolder) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Finds a class in the shared cache by using the class name and partition given (implicitly using the caller's classpath).
findSharedClass(URL, String) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Finds a class in the shared cache by using a specific URL and class name.
findSharedClass(String, URL, String) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Finds a class in the shared cache by using a specific URL, class name, and user-defined partition (see Partitions).
findSharedData(String) - Method in interface com.ibm.oti.shared.SharedDataHelper
Find data in the shared cache using a specific token.
freeSpaceBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the free space of the shared cache that the JVM is currently connected to.

G

getActions() - Method in class com.ibm.oti.shared.SharedClassPermission
Answers the actions associated with the receiver.
getCacheAddressMode() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the address mode for the shared class cache.
getCacheCompressedRefsMode() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the compressedRefs mode for the shared class cache.
getCacheFreeBytes() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the amount of free bytes in the shared class cache.
getCacheJVMLevel() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the JVM level for the shared class cache.
getCacheLayer() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the layer number for the shared class cache.
getCacheName() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the cache name for the shared class cache.
getCacheSize() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets total usable shared class cache size.
getCacheSoftMaxBytes() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the soft limit for available space in the cache in bytes.
getCacheType() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Check the type of the shared class cache.
getClassLoader() - Method in class com.ibm.oti.shared.SharedAbstractHelper
Utility function.
getClassLoader() - Method in interface com.ibm.oti.shared.SharedHelper
Returns the ClassLoader to which this SharedHelper belongs.
getDataHelper(ClassLoader) - Method in interface com.ibm.oti.shared.SharedDataHelperFactory
Return a SharedDataHelper for a given ClassLoader.
getLastDetach() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the time when the shared class cache was last detached.
getOSsemid() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the OS semaphore ID associated with the shared class cache.
getOSshmid() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the OS shared memory ID associated with the shared class cache.
getSharedCacheInfo(String, int, boolean) - Static method in class com.ibm.oti.shared.SharedClassUtilities
Iterates through all shared class caches present in the given directory and returns their information in a List.
getSharedClassHelperFactory() - Static method in class com.ibm.oti.shared.Shared
If sharing is enabled, returns a SharedClassHelperFactory, otherwise returns null.
getSharedDataHelperFactory() - Static method in class com.ibm.oti.shared.Shared
If sharing is enabled, returns a SharedDataHelperFactory, otherwise returns null.
getSharingFilter() - Method in class com.ibm.oti.shared.SharedClassAbstractHelper
Returns the SharedClassFilter associated with this helper.
getSharingFilter() - Method in interface com.ibm.oti.shared.SharedClassHelper
Returns the sharing filter associated with this helper.
getTokenHelper(ClassLoader) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Returns a SharedClassTokenHelper for a given ClassLoader.
getTokenHelper(ClassLoader, SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Returns a SharedClassTokenHelper for a given ClassLoader.
getURLClasspathHelper(ClassLoader, URL[]) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Returns a SharedClassURLClasspathHelper for a given ClassLoader.
getURLClasspathHelper(ClassLoader, URL[], SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Returns a SharedClassURLClasspathHelper for a given ClassLoader.
getURLHelper(ClassLoader) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Returns a SharedClassURLHelper for a given ClassLoader.
getURLHelper(ClassLoader, SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Returns a SharedClassURLHelper for a given ClassLoader.

H

hashCode() - Method in class com.ibm.oti.shared.SharedClassPermission
Answers the integer hash code for the receiver.
HelperAlreadyDefinedException - Exception in com.ibm.oti.shared
Exception thrown if a factory is asked to get multiple helpers for a ClassLoader.
HelperAlreadyDefinedException(String) - Constructor for exception com.ibm.oti.shared.HelperAlreadyDefinedException
Creates a new HelperAlreadyDefinedException.

I

implies(Permission) - Method in class com.ibm.oti.shared.SharedClassPermission
Indicates whether the argument permission is implied by the receiver.
implies(Permission) - Method in class com.ibm.oti.shared.SharedClassPermissionCollection
Returns true if the permission given is implied by any of the permissions in the collection.
isCacheCompatible() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Checks the compatibility of the shared class cache with this JVM.
isCacheCorrupt() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Checks if the shared class cache is corrupt.
isCachePersistent() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Deprecated.
Use getCacheType() instead.
isSharedClassCookie(byte[]) - Method in class com.ibm.oti.shared.SharedClassAbstractHelper
Determines whether a byte array being passed to defineClass is a class found in the shared class cache, or a class found locally.
isSharingEnabled() - Static method in class com.ibm.oti.shared.Shared
Checks if sharing is enabled for this JVM.

J

JVMLEVEL_JAVA5 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a Java 5 cache.
JVMLEVEL_JAVA6 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a Java 6 cache.
JVMLEVEL_JAVA7 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a Java 7 cache.
JVMLEVEL_JAVA8 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a Java 8 cache.

M

maxAotBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the maximum space allowed for AOT data of the cache that the JVM is currently connected to.
maxJitDataBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the maximum space allowed for JIT data of the cache that the JVM is currently connected to.
maxSizeBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the size of the shared cache that the JVM is currently connected to.
minAotBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the minimum space reserved for AOT data of the cache that the JVM is currently connected to.
minJitDataBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the minimum space reserved for JIT data of the cache that the JVM is currently connected to.

N

newPermissionCollection() - Method in class com.ibm.oti.shared.SharedClassPermission
Answers a new PermissionCollection for holding permissions of this class.
NO_FLAGS - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Value to be passed to flags parameter of the SharedClassUtilities.getSharedCacheInfo(java.lang.String, int, boolean) method.
NON_COMPRESSED_REFS - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a non-compressedRefs cache.
NONPERSISTENT - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Specifies a non-persistent cache.
numberAttached() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the SysV shmem nattch value for a non-persistent top level cache.

P

PERSISTENCE_DEFAULT - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Uses the platform dependent default value as the cache type.
PERSISTENT - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Specifies a persistent cache.

S

setClasspath(URL[]) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Updates the helper's classpath with a new classpath.
setIndex(int) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper.IndexHolder
Sets the index in the caller ClassLoader's classpath at which the class was found.
setMinimizeUpdateChecks() - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Minimizes update checking on jar files for optimal performance.
setSharingFilter(SharedClassFilter) - Method in class com.ibm.oti.shared.SharedClassAbstractHelper
Sets the SharedClassFilter for a helper instance.
setSharingFilter(SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelper
Applies the sharing filter to the SharedClassHelper.
Shared - Class in com.ibm.oti.shared
Global class that provides SharedClassHelperFactory, SharedDataHelperFactory and sharing status.
Shared() - Constructor for class com.ibm.oti.shared.Shared
Deprecated.
SharedAbstractHelper - Class in com.ibm.oti.shared
SharedAbstractHelper provides common functions and data to helper subclasses.
SharedAbstractHelper() - Constructor for class com.ibm.oti.shared.SharedAbstractHelper
Constructs a new instance of this class.
SharedAbstractHelperFactory - Class in com.ibm.oti.shared
SharedAbstractHelperFactory is an abstract superclass for helper factory subclasses.
SharedAbstractHelperFactory() - Constructor for class com.ibm.oti.shared.SharedAbstractHelperFactory
Constructs a new instance of this class.
SharedClassAbstractHelper - Class in com.ibm.oti.shared
SharedClassAbstractHelper provides common functions and data to class helper subclasses.
SharedClassAbstractHelper() - Constructor for class com.ibm.oti.shared.SharedClassAbstractHelper
Constructs a new instance of this class.
SharedClassCacheInfo - Class in com.ibm.oti.shared
SharedClassCacheInfo stores information about a shared class cache and provides methods to retrieve that information.
SharedClassesNamedPermission - Class in com.ibm.oti.shared
This class defines shared cache permissions as described in the following table.
SharedClassesNamedPermission(String) - Constructor for class com.ibm.oti.shared.SharedClassesNamedPermission
Create a representation of the named permissions.
SharedClassesNamedPermission(String, String) - Constructor for class com.ibm.oti.shared.SharedClassesNamedPermission
Create a representation of the named permissions.
SharedClassFilter - Interface in com.ibm.oti.shared
SharedClassFilter allows users of a Helper API to filter which classes are found and stored in the cache.
SharedClassHelper - Interface in com.ibm.oti.shared
The SharedClassHelper superinterface defines functions that are common to all class helpers.
SharedClassHelperFactory - Interface in com.ibm.oti.shared
SharedClassHelperFactory provides an interface that is used to create various types of SharedClassHelper for ClassLoaders.
SharedClassPermission - Class in com.ibm.oti.shared
SharedClassPermission provides security permission to govern ClassLoader access to the shared class cache.
SharedClassPermission(ClassLoader, String) - Constructor for class com.ibm.oti.shared.SharedClassPermission
Constructs a new instance of this class.
SharedClassPermission(String, String) - Constructor for class com.ibm.oti.shared.SharedClassPermission
Constructs a new instance of this class.
SharedClassPermissionCollection - Class in com.ibm.oti.shared
SharedClassPermissionCollection provides permission collection to support SharedClassPermission.
SharedClassPermissionCollection() - Constructor for class com.ibm.oti.shared.SharedClassPermissionCollection
Deprecated.
SharedClassStatistics - Class in com.ibm.oti.shared
SharedClassStatistics provides static functions that report basic cache statistics.
SharedClassStatistics() - Constructor for class com.ibm.oti.shared.SharedClassStatistics
Deprecated.
SharedClassTokenHelper - Interface in com.ibm.oti.shared
SharedClassHelper API that stores and finds classes using String tokens.
SharedClassURLClasspathHelper - Interface in com.ibm.oti.shared
SharedClassHelper API that stores and finds classes by using URL classpaths.
SharedClassURLClasspathHelper.IndexHolder - Interface in com.ibm.oti.shared
Interface that allows an index to be returned from findSharedClass calls.
SharedClassURLHelper - Interface in com.ibm.oti.shared
SharedClassHelper API that stores and finds classes by using URL paths.
SharedClassUtilities - Class in com.ibm.oti.shared
SharedClassUtilities provides APIs to get information about all shared class caches in a directory and to destroy a particular shared class cache.
SharedClassUtilities() - Constructor for class com.ibm.oti.shared.SharedClassUtilities
Deprecated.
SharedDataHelper - Interface in com.ibm.oti.shared
SharedDataHelper API that stores and finds byte data using String tokens.
SharedDataHelperFactory - Interface in com.ibm.oti.shared
SharedDataHelperFactory provides an interface used to create SharedDataHelpers.
SharedHelper - Interface in com.ibm.oti.shared
The SharedHelper superinterface defines functions common to all helpers.
SNAPSHOT - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Specifies a cache snapshot.
softmxBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the soft limit in bytes for the available space of the cache that the JVM is currently connected to.
storeSharedClass(String, Class<?>) - Method in interface com.ibm.oti.shared.SharedClassTokenHelper
Stores a class in the shared cache by using a specific token.
storeSharedClass(Class<?>, int) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Stores a class in the shared cache by using the caller's URL classpath.
storeSharedClass(String, Class<?>, int) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Stores a class in the shared cache by using the caller's URL classpath and with a user-defined partition.
storeSharedClass(URL, Class<?>) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Stores a class in the shared cache by using the URL location it was loaded from.
storeSharedClass(String, URL, Class<?>) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Stores a class in the shared cache by using the URL location it was loaded from and a user-defined partition (see Partitions).
storeSharedData(String, ByteBuffer) - Method in interface com.ibm.oti.shared.SharedDataHelper
Store data in the shared cache using a specific token.
A C D E F G H I J M N P S 
Skip navigation links
OpenJ9 Shared Classes

Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1998, 2025 IBM Corp. and others.