Modifier and Type | Field and Description |
---|---|
pack-priv static final String | |
pack-priv static final String | |
pack-priv static final String | |
private static String[] | |
pack-priv static final String | |
private static final boolean | |
private static final boolean | |
private static final boolean | |
private static final boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private static boolean | |
public static native void | defineArchivedModules(ClassLoader platformLoader, ClassLoader systemLoader)
Ensure that the native representation of all archived java.lang.Module objects are properly restored. |
private static String | |
private static native void | |
private static native void | |
private static String | Returns: The archive name if successfully dumped.true for dump static archive or false for dynnamic archive. isStatic, String user input archive name, can be null. fileName)called from jcmd VM.cds to dump static or dynamic shared archive |
private static Object[] | Returns: Object[] if holder classes can be generated.in format of LF_RESOLVE or SPECIES_RESOLVE output lines)called from vm to generate MethodHandle holder classes |
public static native long | getRandomSeedForDumping()
Returns a predictable "random" seed derived from the VM's build ID and version, to be used by java.util.ImmutableCollections to ensure that archived ImmutableCollections are always sorted the same order for the same VM build. |
public static native void | initializeFromArchive(Class<?> c)
Initialize archived static fields in the given Class using archived values from CDS dump time. |
private static boolean | |
public static boolean | |
private static native boolean | |
public static boolean | |
private static native boolean | |
public static boolean | |
public static boolean | |
private static native boolean | |
private static boolean | |
private static boolean | |
private static native void | |
public static void | traceLambdaFormInvoker(String prefix, String holder, String name, String type)
log lambda form invoker holder, name and method type |
public static void | |
private static void |
BASIC_FORMS_HOLDER_CLASS_NAME | back to summary |
---|---|
pack-priv static final String BASIC_FORMS_HOLDER_CLASS_NAME |
DELEGATING_HOLDER_CLASS_NAME | back to summary |
---|---|
pack-priv static final String DELEGATING_HOLDER_CLASS_NAME |
DIRECT_HOLDER_CLASS_NAME | back to summary |
---|---|
pack-priv static final String DIRECT_HOLDER_CLASS_NAME |
excludeFlags | back to summary |
---|---|
private static String[] excludeFlags |
INVOKERS_HOLDER_CLASS_NAME | back to summary |
---|---|
pack-priv static final String INVOKERS_HOLDER_CLASS_NAME |
isDumpingArchive | back to summary |
---|---|
private static final boolean isDumpingArchive |
isDumpingClassList | back to summary |
---|---|
private static final boolean isDumpingClassList |
isDumpingStaticArchive | back to summary |
---|---|
private static final boolean isDumpingStaticArchive |
isSharingEnabled | back to summary |
---|---|
private static final boolean isSharingEnabled |
CDS | back to summary |
---|---|
public CDS() |
containsExcludedFlags | back to summary |
---|---|
private static boolean containsExcludedFlags(String testStr) |
defineArchivedModules | back to summary |
---|---|
public static native void defineArchivedModules(ClassLoader platformLoader, ClassLoader systemLoader) Ensure that the native representation of all archived java.lang.Module objects are properly restored. |
drainOutput | back to summary |
---|---|
private static String drainOutput(InputStream stream, long pid, String tail, List<String> cmds) |
dumpClassList | back to summary |
---|---|
private static native void dumpClassList(String listFileName) |
dumpDynamicArchive | back to summary |
---|---|
private static native void dumpDynamicArchive(String archiveFileName) |
dumpSharedArchive | back to summary |
---|---|
private static String dumpSharedArchive(boolean isStatic, String fileName) throws Exception called from jcmd VM.cds to dump static or dynamic shared archive |
generateLambdaFormHolderClasses | back to summary |
---|---|
private static Object[] generateLambdaFormHolderClasses(String[] lines) called from vm to generate MethodHandle holder classes |
getRandomSeedForDumping | back to summary |
---|---|
public static native long getRandomSeedForDumping() Returns a predictable "random" seed derived from the VM's build ID and version, to be used by java.util.ImmutableCollections to ensure that archived ImmutableCollections are always sorted the same order for the same VM build. |
initializeFromArchive | back to summary |
---|---|
public static native void initializeFromArchive(Class<?> c) Initialize archived static fields in the given Class using archived values from CDS dump time. Also initialize the classes of objects in the archived graph referenced by those fields. Those static fields remain as uninitialized if there is no mapped CDS java heap data or there is any error during initialization of the object class in the archived graph. |
isBasicTypeChar | back to summary |
---|---|
private static boolean isBasicTypeChar(char c) |
isDumpingArchive | back to summary |
---|---|
public static boolean isDumpingArchive() Is the VM writing to a (static or dynamic) CDS archive. |
isDumpingArchive0 | back to summary |
---|---|
private static native boolean isDumpingArchive0() |
isDumpingClassList | back to summary |
---|---|
public static boolean isDumpingClassList() indicator for dumping class list. |
isDumpingClassList0 | back to summary |
---|---|
private static native boolean isDumpingClassList0() |
isDumpingStaticArchive | back to summary |
---|---|
public static boolean isDumpingStaticArchive() Is dumping static archive. |
isSharingEnabled | back to summary |
---|---|
public static boolean isSharingEnabled() Is sharing enabled. |
isSharingEnabled0 | back to summary |
---|---|
private static native boolean isSharingEnabled0() |
isValidHolderName | back to summary |
---|---|
private static boolean isValidHolderName(String name) |
isValidMethodType | back to summary |
---|---|
private static boolean isValidMethodType(String type) |
logLambdaFormInvoker | back to summary |
---|---|
private static native void logLambdaFormInvoker(String line) |
traceLambdaFormInvoker | back to summary |
---|---|
public static void traceLambdaFormInvoker(String prefix, String holder, String name, String type) log lambda form invoker holder, name and method type |
traceSpeciesType | back to summary |
---|---|
public static void traceSpeciesType(String prefix, String cn) log species |
validateInputLines | back to summary |
---|---|
private static void validateInputLines(String[] lines) |