private static JvmInformation detectIBM() { JvmInformation jif = null; if (isIBM()) { if (is64Bit()) { if (isIBMCompressedRefs()) { jif = IBM_64_BIT_WITH_COMPRESSED_REFS; } else { jif = IBM_64_BIT; } } else { jif = IBM_32_BIT; } } return jif; }
private static JvmInformation detectJRockit() { JvmInformation jif = null; if (isJRockit()) { if (is64Bit()) { if (isJRockit64GBCompression()) { jif = JROCKIT_64_BIT_WITH_64GB_COMPRESSED_REFS; } else { jif = JROCKIT_64_BIT; } } else { jif = JROCKIT_32_BIT; } } return jif; }
/** * Determine the JvmInformation for the current JVM. */ private static JvmInformation getJvmInformation() { JvmInformation jif = null; jif = detectHotSpot(); if (jif == null) { jif = detectOpenJDK(); } if (jif == null) { jif = detectJRockit(); } if (jif == null) { jif = detectIBM(); } if (jif == null && is64Bit()) { // unknown 64-bit JVMs jif = UNKNOWN_64_BIT; } else if (jif == null) { // unknown 32-bit JVMs jif = UNKNOWN_32_BIT; } return jif; }
private static JvmInformation detectHotSpot() { JvmInformation jif = null; if (isHotspot()) { if (is64Bit()) { if (isHotspotCompressedOops() && isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP; } else if (isHotspotCompressedOops()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS; } else if (isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = HOTSPOT_64_BIT; } } else { if (isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = HOTSPOT_32_BIT; } } } return jif; }
private static JvmInformation detectOpenJDK() { JvmInformation jif = null; if (isOpenJDK()) { if (is64Bit()) { if (isHotspotCompressedOops() && isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP; } else if (isHotspotCompressedOops()) { jif = OPENJDK_64_BIT_WITH_COMPRESSED_OOPS; } else if (isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = OPENJDK_64_BIT; } } else { if (isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = OPENJDK_32_BIT; } } } return jif; }
private static JvmInformation detectIBM() { JvmInformation jif = null; if (isIBM()) { if (is64Bit()) { if (isIBMCompressedRefs()) { jif = IBM_64_BIT_WITH_COMPRESSED_REFS; } else { jif = IBM_64_BIT; } } else { jif = IBM_32_BIT; } } return jif; }
private static JvmInformation detectJRockit() { JvmInformation jif = null; if (isJRockit()) { if (is64Bit()) { if (isJRockit64GBCompression()) { jif = JROCKIT_64_BIT_WITH_64GB_COMPRESSED_REFS; } else { jif = JROCKIT_64_BIT; } } else { jif = JROCKIT_32_BIT; } } return jif; }
private static JvmInformation detectIBM() { JvmInformation jif = null; if (isIBM()) { if (is64Bit()) { if (isIBMCompressedRefs()) { jif = IBM_64_BIT_WITH_COMPRESSED_REFS; } else { jif = IBM_64_BIT; } } else { jif = IBM_32_BIT; } } return jif; }
private static JvmInformation detectJRockit() { JvmInformation jif = null; if (isJRockit()) { if (is64Bit()) { if (isJRockit64GBCompression()) { jif = JROCKIT_64_BIT_WITH_64GB_COMPRESSED_REFS; } else { jif = JROCKIT_64_BIT; } } else { jif = JROCKIT_32_BIT; } } return jif; }
private static JvmInformation detectIBM() { JvmInformation jif = null; if (isIBM()) { if (is64Bit()) { if (isIBMCompressedRefs()) { jif = IBM_64_BIT_WITH_COMPRESSED_REFS; } else { jif = IBM_64_BIT; } } else { jif = IBM_32_BIT; } } return jif; }
/** * Determine the JvmInformation for the current JVM. */ private static JvmInformation getJvmInformation() { JvmInformation jif = null; jif = detectHotSpot(); if (jif == null) { jif = detectJRockit(); } if (jif == null) { jif = detectIBM(); } if (jif == null && is64Bit()) { // unknown 64-bit JVMs jif = UNKNOWN_64_BIT; } else if (jif == null) { // unknown 32-bit JVMs jif = UNKNOWN_32_BIT; } return jif; }
private static JvmInformation detectJRockit() { JvmInformation jif = null; if (isJRockit()) { if (is64Bit()) { if (isJRockit4GBCompression()) { jif = JROCKIT_64_BIT_WITH_4GB_COMPRESSED_REFS; } else if (isJRockit32GBCompression()) { jif = JROCKIT_64_BIT_WITH_32GB_COMPRESSED_REFS; } else if (isJRockit64GBCompression()) { jif = JROCKIT_64_BIT_WITH_64GB_COMPRESSED_REFS; } else { jif = JROCKIT_64_BIT; } } else { jif = JROCKIT_32_BIT; } } return jif; }
/** * Determine the JvmInformation for the current JVM. */ private static JvmInformation getJvmInformation() { JvmInformation jif = null; jif = detectHotSpot(); if (jif == null) { jif = detectOpenJDK(); } if (jif == null) { jif = detectJRockit(); } if (jif == null) { jif = detectIBM(); } if (jif == null && is64Bit()) { // unknown 64-bit JVMs jif = UNKNOWN_64_BIT; } else if (jif == null) { // unknown 32-bit JVMs jif = UNKNOWN_32_BIT; } return jif; }
/** * Determine the JvmInformation for the current JVM. */ private static JvmInformation getJvmInformation() { JvmInformation jif = null; jif = detectHotSpot(); if (jif == null) { jif = detectOpenJDK(); } if (jif == null) { jif = detectJRockit(); } if (jif == null) { jif = detectIBM(); } if (jif == null && is64Bit()) { // unknown 64-bit JVMs jif = UNKNOWN_64_BIT; } else if (jif == null) { // unknown 32-bit JVMs jif = UNKNOWN_32_BIT; } return jif; }
private static JvmInformation detectHotSpot() { JvmInformation jif = null; if (isHotspot()) { if (is64Bit()) { if (isHotspotCompressedOops() && isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP; } else if (isHotspotCompressedOops()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS; } else if (isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = HOTSPOT_64_BIT; } } else { jif = HOTSPOT_32_BIT; } } return jif; } private static JvmInformation detectJRockit() {
private static JvmInformation detectOpenJDK() { JvmInformation jif = null; if (isOpenJDK()) { if (is64Bit()) { if (isHotspotCompressedOops() && isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP; } else if (isHotspotCompressedOops()) { jif = OPENJDK_64_BIT_WITH_COMPRESSED_OOPS; } else if (isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = OPENJDK_64_BIT; } } else { if (isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = OPENJDK_32_BIT; } } } return jif; }
private static JvmInformation detectHotSpot() { JvmInformation jif = null; if (isHotspot()) { if (is64Bit()) { if (isHotspotCompressedOops() && isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP; } else if (isHotspotCompressedOops()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS; } else if (isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = HOTSPOT_64_BIT; } } else { if (isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = HOTSPOT_32_BIT; } } } return jif; }
private static JvmInformation detectHotSpot() { JvmInformation jif = null; if (isHotspot()) { if (is64Bit()) { if (isHotspotCompressedOops() && isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP; } else if (isHotspotCompressedOops()) { jif = HOTSPOT_64_BIT_WITH_COMPRESSED_OOPS; } else if (isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = HOTSPOT_64_BIT; } } else { if (isHotspotConcurrentMarkSweepGC()) { jif = HOTSPOT_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = HOTSPOT_32_BIT; } } } return jif; }
private static JvmInformation detectOpenJDK() { JvmInformation jif = null; if (isOpenJDK()) { if (is64Bit()) { if (isHotspotCompressedOops() && isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_64_BIT_WITH_COMPRESSED_OOPS_AND_CONCURRENT_MARK_AND_SWEEP; } else if (isHotspotCompressedOops()) { jif = OPENJDK_64_BIT_WITH_COMPRESSED_OOPS; } else if (isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_64_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = OPENJDK_64_BIT; } } else { if (isHotspotConcurrentMarkSweepGC()) { jif = OPENJDK_32_BIT_WITH_CONCURRENT_MARK_AND_SWEEP; } else { jif = OPENJDK_32_BIT; } } } return jif; }