public class VMOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VMOptions.MemoryKind |
Constructor and Description |
---|
VMOptions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canWriteOptions() |
static java.lang.String |
getCustomVMOptionsFileName() |
static java.io.File |
getWriteFile() |
static java.lang.String |
read() |
static int |
readOption(VMOptions.MemoryKind kind,
boolean effective) |
static void |
writeDisableCDSArchiveOption() |
static void |
writeEnableCDSArchiveOption(java.lang.String archivePath) |
static void |
writeOption(java.lang.String option,
java.lang.String separator,
java.lang.String value) |
static void |
writeOption(VMOptions.MemoryKind option,
int value) |
public static int readOption(VMOptions.MemoryKind kind, boolean effective)
public static void writeOption(VMOptions.MemoryKind option, int value)
public static void writeOption(java.lang.String option, java.lang.String separator, java.lang.String value)
public static void writeEnableCDSArchiveOption(java.lang.String archivePath)
public static void writeDisableCDSArchiveOption()
public static boolean canWriteOptions()
public static java.lang.String read()
public static java.io.File getWriteFile()
public static java.lang.String getCustomVMOptionsFileName()