src/share/vm/runtime/vm_version.cpp

changeset 6876
710a3c8b516e
parent 6462
e2722a66aba7
parent 36
e32766b58924
child 7994
04ff2f6cd0eb
equal deleted inserted replaced
6875:28b50d07f6f8 6876:710a3c8b516e
18 * 18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 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 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */
24
25 /*
26 * This file has been modified by Loongson Technology in 2015. These
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made
28 * available on the same license terms set forth above.
23 */ 29 */
24 30
25 #include "precompiled.hpp" 31 #include "precompiled.hpp"
26 #include "memory/universe.hpp" 32 #include "memory/universe.hpp"
27 #include "oops/oop.inline.hpp" 33 #include "oops/oop.inline.hpp"
38 #ifdef TARGET_ARCH_arm 44 #ifdef TARGET_ARCH_arm
39 # include "vm_version_arm.hpp" 45 # include "vm_version_arm.hpp"
40 #endif 46 #endif
41 #ifdef TARGET_ARCH_ppc 47 #ifdef TARGET_ARCH_ppc
42 # include "vm_version_ppc.hpp" 48 # include "vm_version_ppc.hpp"
49 #endif
50 #ifdef TARGET_ARCH_mips
51 # include "vm_version_mips.hpp"
43 #endif 52 #endif
44 53
45 const char* Abstract_VM_Version::_s_vm_release = Abstract_VM_Version::vm_release(); 54 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(); 55 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; 56 bool Abstract_VM_Version::_supports_cx8 = false;
187 IA64_ONLY("ia64") \ 196 IA64_ONLY("ia64") \
188 AMD64_ONLY("amd64") \ 197 AMD64_ONLY("amd64") \
189 ARM_ONLY("arm") \ 198 ARM_ONLY("arm") \
190 PPC32_ONLY("ppc") \ 199 PPC32_ONLY("ppc") \
191 PPC64_ONLY("ppc64") \ 200 PPC64_ONLY("ppc64") \
201 MIPS64_ONLY("mips64") \
192 SPARC_ONLY("sparc") 202 SPARC_ONLY("sparc")
193 #endif // ZERO 203 #endif // ZERO
194 204
195 const char *Abstract_VM_Version::vm_platform_string() { 205 const char *Abstract_VM_Version::vm_platform_string() {
196 return OS "-" CPU; 206 return OS "-" CPU;

mercurial