34 #endif
35 #ifdef TARGET_ARCH_zero
36 # include "vm_version_zero.hpp"
37 #endif
38 #ifdef TARGET_ARCH_arm
39 # include "vm_version_arm.hpp"
40 #endif
41 #ifdef TARGET_ARCH_ppc
42 # include "vm_version_ppc.hpp"
43 #endif
44
45 const char* Abstract_VM_Version::_s_vm_release = Abstract_VM_Version::vm_release();
46 const char* Abstract_VM_Version::_s_internal_vm_info_string = Abstract_VM_Version::internal_vm_info_string();
47 bool Abstract_VM_Version::_supports_cx8 = false;
48 bool Abstract_VM_Version::_supports_atomic_getset4 = false;
49 bool Abstract_VM_Version::_supports_atomic_getset8 = false;
50 bool Abstract_VM_Version::_supports_atomic_getadd4 = false;
51 bool Abstract_VM_Version::_supports_atomic_getadd8 = false;
52 unsigned int Abstract_VM_Version::_logical_processors_per_package = 1U;
53 int Abstract_VM_Version::_reserve_for_allocation_prefetch = 0;
54
55 #ifndef HOTSPOT_RELEASE_VERSION
56 #error HOTSPOT_RELEASE_VERSION must be defined
57 #endif
58 #ifndef JRE_RELEASE_VERSION
59 #error JRE_RELEASE_VERSION must be defined
60 #endif
61 #ifndef HOTSPOT_BUILD_TARGET
62 #error HOTSPOT_BUILD_TARGET must be defined
63 #endif
64
65 #ifdef PRODUCT
66 #define VM_RELEASE HOTSPOT_RELEASE_VERSION
67 #else
68 #define VM_RELEASE HOTSPOT_RELEASE_VERSION "-" HOTSPOT_BUILD_TARGET
69 #endif
70
71 // HOTSPOT_RELEASE_VERSION must follow the release version naming convention
72 // <major_ver>.<minor_ver>-b<nn>[-<identifier>][-<debug_target>]
73 int Abstract_VM_Version::_vm_major_version = 0;
74 int Abstract_VM_Version::_vm_minor_version = 0;
|
34 #endif
35 #ifdef TARGET_ARCH_zero
36 # include "vm_version_zero.hpp"
37 #endif
38 #ifdef TARGET_ARCH_arm
39 # include "vm_version_arm.hpp"
40 #endif
41 #ifdef TARGET_ARCH_ppc
42 # include "vm_version_ppc.hpp"
43 #endif
44
45 const char* Abstract_VM_Version::_s_vm_release = Abstract_VM_Version::vm_release();
46 const char* Abstract_VM_Version::_s_internal_vm_info_string = Abstract_VM_Version::internal_vm_info_string();
47 bool Abstract_VM_Version::_supports_cx8 = false;
48 bool Abstract_VM_Version::_supports_atomic_getset4 = false;
49 bool Abstract_VM_Version::_supports_atomic_getset8 = false;
50 bool Abstract_VM_Version::_supports_atomic_getadd4 = false;
51 bool Abstract_VM_Version::_supports_atomic_getadd8 = false;
52 unsigned int Abstract_VM_Version::_logical_processors_per_package = 1U;
53 int Abstract_VM_Version::_reserve_for_allocation_prefetch = 0;
54 bool Abstract_VM_Version::_supports_crypto_acceleration_client = false;
55 #ifndef HOTSPOT_RELEASE_VERSION
56 #error HOTSPOT_RELEASE_VERSION must be defined
57 #endif
58 #ifndef JRE_RELEASE_VERSION
59 #error JRE_RELEASE_VERSION must be defined
60 #endif
61 #ifndef HOTSPOT_BUILD_TARGET
62 #error HOTSPOT_BUILD_TARGET must be defined
63 #endif
64
65 #ifdef PRODUCT
66 #define VM_RELEASE HOTSPOT_RELEASE_VERSION
67 #else
68 #define VM_RELEASE HOTSPOT_RELEASE_VERSION "-" HOTSPOT_BUILD_TARGET
69 #endif
70
71 // HOTSPOT_RELEASE_VERSION must follow the release version naming convention
72 // <major_ver>.<minor_ver>-b<nn>[-<identifier>][-<debug_target>]
73 int Abstract_VM_Version::_vm_major_version = 0;
74 int Abstract_VM_Version::_vm_minor_version = 0;
|