| Modifier and Type | Field and Description |
|---|---|
| public static final JvmInformation | CURRENT_JVM_INFORMATION
The JvmInformation instance representing the current JVM |
| private static final long | |
| public static final JvmInformation | HOTSPOT_32_BIT
Represents HotSpot 32-bit |
| public static final JvmInformation | HOTSPOT_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP
Represents 32-Bit HotSpot JVM with Concurrent Mark-and-Sweep GC |
| public static final JvmInformation | HOTSPOT_64_BIT
Represents 64-Bit HotSpot JVM |
| public static final JvmInformation | HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS
Represents 64-Bit HotSpot JVM with Compressed OOPs |
| public static final JvmInformation | HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP
Represents 64-Bit HotSpot JVM with Compressed OOPs and Concurrent Mark-and-Sweep GC |
| public static final JvmInformation | HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP
Represents 64-Bit HotSpot JVM with Concurrent Mark-and-Sweep GC |
| public static final JvmInformation | IBM_32_BIT
Represents IBM 32-bit |
| public static final JvmInformation | IBM_64_BIT
Represents 64-Bit IBM JVM (with no reference compression) |
| public static final JvmInformation | IBM_64_BIT_WITH_COMPRESSED_REFS
Represents 64-Bit IBM JVM (with reference compression) |
| private static final Logger | |
| public static final JvmInformation | OPENJDK_32_BIT
Represents OpenJDK 32-bit |
| public static final JvmInformation | OPENJDK_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP
Represents 32-Bit OpenJDK JVM with Concurrent Mark-and-Sweep GC |
| public static final JvmInformation | OPENJDK_64_BIT
Represents 64-Bit OpenJDK JVM |
| public static final JvmInformation | OPENJDK_64_BIT_WITH_COMPRESSED_OOPS
Represents 64-Bit OpenJDK JVM with Compressed OOPs |
| public static final JvmInformation | OPENJDK_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP
Represents 64-Bit OpenJDK JVM with Compressed OOPs and Concurrent Mark-and-Sweep GC |
| public static final JvmInformation | OPENJDK_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP
Represents 64-Bit OpenJDK JVM with Concurrent Mark-and-Sweep GC |
| private JvmInformation | |
| private static final long | |
| public static final JvmInformation | UNKNOWN_32_BIT
Represents Generic 32-bit |
| public static final JvmInformation | UNKNOWN_64_BIT
Represents 64-Bit Generic JVM |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static JvmInformation | |
| private static JvmInformation | |
| private static JvmInformation | |
| public int | |
| public int | |
| private static String | |
| public int | getJavaPointerSize()
Size of a java pointer in bytes on this runtime (that differs when compressedOops are being used) |
| public abstract String | |
| private static JvmInformation | |
| public int | |
| public int | |
| public int | |
| private static String | |
| public int | |
| private static boolean | |
| public static boolean | |
| private static boolean | |
| private static boolean | |
| public static boolean | |
| private static boolean | |
| public static boolean | |
| public static boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static JvmInformation | |
| public static JvmInformation[] |
| CURRENT_JVM_INFORMATION | back to summary |
|---|---|
| public static final JvmInformation CURRENT_JVM_INFORMATION The JvmInformation instance representing the current JVM | |
| FIFTY_SEVEN_GB | back to summary |
|---|---|
| private static final long FIFTY_SEVEN_GB | |
| HOTSPOT_32_BIT | back to summary |
|---|---|
| public static final JvmInformation HOTSPOT_32_BIT Represents HotSpot 32-bit | |
| HOTSPOT_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP | back to summary |
|---|---|
| public static final JvmInformation HOTSPOT_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP Represents 32-Bit HotSpot JVM with Concurrent Mark-and-Sweep GC | |
| HOTSPOT_64_BIT | back to summary |
|---|---|
| public static final JvmInformation HOTSPOT_64_BIT Represents 64-Bit HotSpot JVM | |
| HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS | back to summary |
|---|---|
| public static final JvmInformation HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS Represents 64-Bit HotSpot JVM with Compressed OOPs | |
| HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP | back to summary |
|---|---|
| public static final JvmInformation HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP Represents 64-Bit HotSpot JVM with Compressed OOPs and Concurrent Mark-and-Sweep GC | |
| HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP | back to summary |
|---|---|
| public static final JvmInformation HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP Represents 64-Bit HotSpot JVM with Concurrent Mark-and-Sweep GC | |
| IBM_32_BIT | back to summary |
|---|---|
| public static final JvmInformation IBM_32_BIT Represents IBM 32-bit | |
| IBM_64_BIT | back to summary |
|---|---|
| public static final JvmInformation IBM_64_BIT Represents 64-Bit IBM JVM (with no reference compression) | |
| IBM_64_BIT_WITH_COMPRESSED_REFS | back to summary |
|---|---|
| public static final JvmInformation IBM_64_BIT_WITH_COMPRESSED_REFS Represents 64-Bit IBM JVM (with reference compression) | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| OPENJDK_32_BIT | back to summary |
|---|---|
| public static final JvmInformation OPENJDK_32_BIT Represents OpenJDK 32-bit | |
| OPENJDK_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP | back to summary |
|---|---|
| public static final JvmInformation OPENJDK_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP Represents 32-Bit OpenJDK JVM with Concurrent Mark-and-Sweep GC | |
| OPENJDK_64_BIT | back to summary |
|---|---|
| public static final JvmInformation OPENJDK_64_BIT Represents 64-Bit OpenJDK JVM | |
| OPENJDK_64_BIT_WITH_COMPRESSED_OOPS | back to summary |
|---|---|
| public static final JvmInformation OPENJDK_64_BIT_WITH_COMPRESSED_OOPS Represents 64-Bit OpenJDK JVM with Compressed OOPs | |
| OPENJDK_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP | back to summary |
|---|---|
| public static final JvmInformation OPENJDK_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP Represents 64-Bit OpenJDK JVM with Compressed OOPs and Concurrent Mark-and-Sweep GC | |
| OPENJDK_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP | back to summary |
|---|---|
| public static final JvmInformation OPENJDK_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP Represents 64-Bit OpenJDK JVM with Concurrent Mark-and-Sweep GC | |
| parent | back to summary |
|---|---|
| private JvmInformation parent | |
| TWENTY_FIVE_GB | back to summary |
|---|---|
| private static final long TWENTY_FIVE_GB | |
| UNKNOWN_32_BIT | back to summary |
|---|---|
| public static final JvmInformation UNKNOWN_32_BIT Represents Generic 32-bit | |
| UNKNOWN_64_BIT | back to summary |
|---|---|
| public static final JvmInformation UNKNOWN_64_BIT Represents 64-Bit Generic JVM | |
| JvmInformation | back to summary |
|---|---|
| private JvmInformation(JvmInformation parent) | |
| detectHotSpot | back to summary |
|---|---|
| private static JvmInformation detectHotSpot() | |
| detectIBM | back to summary |
|---|---|
| private static JvmInformation detectIBM() | |
| detectOpenJDK | back to summary |
|---|---|
| private static JvmInformation detectOpenJDK() | |
| getAgentSizeOfAdjustment | back to summary |
|---|---|
| public int getAgentSizeOfAdjustment() The size of the jvm-specific agent result adjustment in bytes. | |
| getFieldOffsetAdjustment | back to summary |
|---|---|
| public int getFieldOffsetAdjustment() The size of the jvm-specific field offset adjustment in bytes. | |
| getHotSpotVmOptionValue | back to summary |
|---|---|
| private static String getHotSpotVmOptionValue(String name) | |
| getJavaPointerSize | back to summary |
|---|---|
| public int getJavaPointerSize() Size of a java pointer in bytes on this runtime (that differs when compressedOops are being used) | |
| getJvmDescription | back to summary |
|---|---|
| public abstract String getJvmDescription() A human-readable description of the JVM and its relevant enabled options.Os | |
| getJvmInformation | back to summary |
|---|---|
| private static JvmInformation getJvmInformation() Determine the JvmInformation for the current JVM. | |
| getMinimumObjectSize | back to summary |
|---|---|
| public int getMinimumObjectSize() Minimal size an object will occupy on the heap in bytes. | |
| getObjectAlignment | back to summary |
|---|---|
| public int getObjectAlignment() Object alignment / padding in bytes | |
| getObjectHeaderSize | back to summary |
|---|---|
| public int getObjectHeaderSize() The size of an object header in bytes. | |
| getPlatformMBeanAttribute | back to summary |
|---|---|
| private static String getPlatformMBeanAttribute(String beanName, String attrName) | |
| getPointerSize | back to summary |
|---|---|
| public int getPointerSize() Size of a pointer in bytes on this runtime | |
| is64Bit | back to summary |
|---|---|
| private static boolean is64Bit() | |
| isHotspot | back to summary |
|---|---|
| public static boolean isHotspot() Returns true if VM vendor is Hotspot
| |
| isHotspotCompressedOops | back to summary |
|---|---|
| private static boolean isHotspotCompressedOops() | |
| isHotspotConcurrentMarkSweepGC | back to summary |
|---|---|
| private static boolean isHotspotConcurrentMarkSweepGC() | |
| isIBM | back to summary |
|---|---|
| public static boolean isIBM() Returns true if VM vendor is IBM
| |
| isIBMCompressedRefs | back to summary |
|---|---|
| private static boolean isIBMCompressedRefs() | |
| isOpenJDK | back to summary |
|---|---|
| public static boolean isOpenJDK() Returns true if VM vendor is OpenJDK
| |
| isOSX | back to summary |
|---|---|
| public static boolean isOSX() Return true if the VM's vendor is Apple
| |
| supportsAgentSizeOf | back to summary |
|---|---|
| public boolean supportsAgentSizeOf() Whether the jvm can support AgentSizeOf implementation. | |
| supportsReflectionSizeOf | back to summary |
|---|---|
| public boolean supportsReflectionSizeOf() Whether the jvm can support ReflectionSizeOf implementation. | |
| supportsUnsafeSizeOf | back to summary |
|---|---|
| public boolean supportsUnsafeSizeOf() Whether the jvm can support UnsafeSizeOf implementation. | |
| valueOf | back to summary |
|---|---|
| public static JvmInformation valueOf(String name) | |
| values | back to summary |
|---|---|
| public static JvmInformation[] values() | |