mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8087202: Add support for PATCH field and remove unused fields of new version string
Reviewed-by: dholmes, alanb
This commit is contained in:
parent
23dd2e12b1
commit
ab8dd89e95
18 changed files with 65 additions and 189 deletions
|
@ -52,6 +52,9 @@ int Abstract_VM_Version::_reserve_for_allocation_prefetch = 0;
|
|||
#ifndef VERSION_SECURITY
|
||||
#error VERSION_SECURITY must be defined
|
||||
#endif
|
||||
#ifndef VERSION_PATCH
|
||||
#error VERSION_PATCH must be defined
|
||||
#endif
|
||||
#ifndef VERSION_BUILD
|
||||
#error VERSION_BUILD must be defined
|
||||
#endif
|
||||
|
@ -76,20 +79,11 @@ int Abstract_VM_Version::_reserve_for_allocation_prefetch = 0;
|
|||
int Abstract_VM_Version::_vm_major_version = VERSION_MAJOR;
|
||||
int Abstract_VM_Version::_vm_minor_version = VERSION_MINOR;
|
||||
int Abstract_VM_Version::_vm_security_version = VERSION_SECURITY;
|
||||
int Abstract_VM_Version::_vm_patch_version = VERSION_PATCH;
|
||||
int Abstract_VM_Version::_vm_build_number = VERSION_BUILD;
|
||||
bool Abstract_VM_Version::_initialized = false;
|
||||
unsigned int Abstract_VM_Version::_parallel_worker_threads = 0;
|
||||
bool Abstract_VM_Version::_parallel_worker_threads_initialized = false;
|
||||
|
||||
void Abstract_VM_Version::initialize() {
|
||||
// FIXME: Initialization can probably be removed now.
|
||||
if (_initialized) {
|
||||
return;
|
||||
}
|
||||
|
||||
_initialized = true;
|
||||
}
|
||||
|
||||
#if defined(_LP64)
|
||||
#define VMLP "64-Bit "
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue