< prev index next >

src/hotspot/share/runtime/abstract_vm_version.cpp

Print this page

166 
167 #define OS       LINUX_ONLY("linux")             \
168                  WINDOWS_ONLY("windows")         \
169                  AIX_ONLY("aix")                 \
170                  BSD_ONLY("bsd")
171 
172 #ifndef CPU
173 #ifdef ZERO
174 #define CPU      ZERO_LIBARCH
175 #elif defined(PPC64)
176 #if defined(VM_LITTLE_ENDIAN)
177 #define CPU      "ppc64le"
178 #else
179 #define CPU      "ppc64"
180 #endif // PPC64
181 #else
182 #define CPU      AARCH64_ONLY("aarch64")         \
183                  AMD64_ONLY("amd64")             \
184                  IA32_ONLY("x86")                \
185                  IA64_ONLY("ia64")               \
186                  S390_ONLY("s390")

187 #endif // !ZERO
188 #endif // !CPU
189 
190 const char *Abstract_VM_Version::vm_platform_string() {
191   return OS "-" CPU;
192 }
193 
194 const char* Abstract_VM_Version::internal_vm_info_string() {
195   #ifndef HOTSPOT_BUILD_USER
196     #define HOTSPOT_BUILD_USER unknown
197   #endif
198 
199   #ifndef HOTSPOT_BUILD_COMPILER
200     #ifdef _MSC_VER
201       #if _MSC_VER == 1600
202         #define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
203       #elif _MSC_VER == 1700
204         #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
205       #elif _MSC_VER == 1800
206         #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"

166 
167 #define OS       LINUX_ONLY("linux")             \
168                  WINDOWS_ONLY("windows")         \
169                  AIX_ONLY("aix")                 \
170                  BSD_ONLY("bsd")
171 
172 #ifndef CPU
173 #ifdef ZERO
174 #define CPU      ZERO_LIBARCH
175 #elif defined(PPC64)
176 #if defined(VM_LITTLE_ENDIAN)
177 #define CPU      "ppc64le"
178 #else
179 #define CPU      "ppc64"
180 #endif // PPC64
181 #else
182 #define CPU      AARCH64_ONLY("aarch64")         \
183                  AMD64_ONLY("amd64")             \
184                  IA32_ONLY("x86")                \
185                  IA64_ONLY("ia64")               \
186                  S390_ONLY("s390")               \
187                  RISCV64_ONLY("riscv64")
188 #endif // !ZERO
189 #endif // !CPU
190 
191 const char *Abstract_VM_Version::vm_platform_string() {
192   return OS "-" CPU;
193 }
194 
195 const char* Abstract_VM_Version::internal_vm_info_string() {
196   #ifndef HOTSPOT_BUILD_USER
197     #define HOTSPOT_BUILD_USER unknown
198   #endif
199 
200   #ifndef HOTSPOT_BUILD_COMPILER
201     #ifdef _MSC_VER
202       #if _MSC_VER == 1600
203         #define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
204       #elif _MSC_VER == 1700
205         #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
206       #elif _MSC_VER == 1800
207         #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
< prev index next >