/* * Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. *
*/
#ifndef HOTSPOT_VERSION_STRING #error HOTSPOT_VERSION_STRING must be defined #endif
#ifndef VERSION_FEATURE #error VERSION_FEATURE must be defined #endif #ifndef VERSION_INTERIM #error VERSION_INTERIM must be defined #endif #ifndef VERSION_UPDATE #error VERSION_UPDATE must be defined #endif #ifndef VERSION_PATCH #error VERSION_PATCH must be defined #endif #ifndef VERSION_BUILD #error VERSION_BUILD must be defined #endif
#ifndef VERSION_STRING #error VERSION_STRING must be defined #endif
#ifndef DEBUG_LEVEL #error DEBUG_LEVEL must be defined #endif
#ifndef HOTSPOT_BUILD_TIME #error HOTSPOT_BUILD_TIME must be defined #endif
#define VM_RELEASE HOTSPOT_VERSION_STRING
// HOTSPOT_VERSION_STRING equals the JDK VERSION_STRING (unless overridden // in a standalone build). int Abstract_VM_Version::_vm_major_version = VERSION_FEATURE; int Abstract_VM_Version::_vm_minor_version = VERSION_INTERIM; int Abstract_VM_Version::_vm_security_version = VERSION_UPDATE; int Abstract_VM_Version::_vm_patch_version = VERSION_PATCH; int Abstract_VM_Version::_vm_build_number = VERSION_BUILD;
// NOTE: do *not* use stringStream. this function is called by // fatal error handler. if the crash is in native thread, // stringStream cannot get resource allocated and will SEGV. constchar* Abstract_VM_Version::vm_release() { return VM_RELEASE;
}
#define OS LINUX_ONLY("linux") \
WINDOWS_ONLY("windows") \
AIX_ONLY("aix") \
BSD_ONLY("bsd")
#ifndef CPU #ifdef ZERO #define CPU ZERO_LIBARCH #elifdefined(PPC64) #ifdefined(VM_LITTLE_ENDIAN) #define CPU "ppc64le" #else #define CPU "ppc64" #endif// PPC64 #else #define CPU AARCH64_ONLY("aarch64") \
AMD64_ONLY("amd64") \
IA32_ONLY("x86") \
IA64_ONLY("ia64") \
S390_ONLY("s390") \
RISCV64_ONLY("riscv64") #endif// !ZERO #endif// !CPU
constchar *Abstract_VM_Version::vm_platform_string() { return OS "-" CPU;
}
#define INTERNAL_VERSION_SUFFIX VM_RELEASE ")" \ " for " OS "-" CPU FLOAT_ARCH_STR LIBC_STR \ " JRE (" VERSION_STRING "), built on " HOTSPOT_BUILD_TIME \ " by " XSTR(HOTSPOT_BUILD_USER) " with " HOTSPOT_BUILD_COMPILER
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.