9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "memory/universe.hpp"
27 #include "oops/oop.inline.hpp"
28 #include "runtime/arguments.hpp"
29 #ifdef TARGET_ARCH_x86
30 # include "vm_version_x86.hpp"
31 #endif
32 #ifdef TARGET_ARCH_sparc
33 # include "vm_version_sparc.hpp"
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
59 #ifndef JDK_MAJOR_VERSION
60 #error JDK_MAJOR_VERSION must be defined
61 #endif
62 #ifndef JDK_MINOR_VERSION
63 #error JDK_MINOR_VERSION must be defined
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "memory/universe.hpp"
27 #include "oops/oop.inline.hpp"
28 #include "runtime/arguments.hpp"
29 #include "runtime/vm_version.hpp"
30
31 const char* Abstract_VM_Version::_s_vm_release = Abstract_VM_Version::vm_release();
32 const char* Abstract_VM_Version::_s_internal_vm_info_string = Abstract_VM_Version::internal_vm_info_string();
33 bool Abstract_VM_Version::_supports_cx8 = false;
34 bool Abstract_VM_Version::_supports_atomic_getset4 = false;
35 bool Abstract_VM_Version::_supports_atomic_getset8 = false;
36 bool Abstract_VM_Version::_supports_atomic_getadd4 = false;
37 bool Abstract_VM_Version::_supports_atomic_getadd8 = false;
38 unsigned int Abstract_VM_Version::_logical_processors_per_package = 1U;
39 int Abstract_VM_Version::_reserve_for_allocation_prefetch = 0;
40
41 #ifndef HOTSPOT_RELEASE_VERSION
42 #error HOTSPOT_RELEASE_VERSION must be defined
43 #endif
44
45 #ifndef JDK_MAJOR_VERSION
46 #error JDK_MAJOR_VERSION must be defined
47 #endif
48 #ifndef JDK_MINOR_VERSION
49 #error JDK_MINOR_VERSION must be defined
|