179 // stringStream cannot get resource allocated and will SEGV.
180 const char* Abstract_VM_Version::jre_release_version() {
181 return JRE_RELEASE_VERSION;
182 }
183
184 #define OS LINUX_ONLY("linux") \
185 WINDOWS_ONLY("windows") \
186 SOLARIS_ONLY("solaris") \
187 AIX_ONLY("aix") \
188 BSD_ONLY("bsd")
189
190 #ifdef ZERO
191 #define CPU ZERO_LIBARCH
192 #else
193 #define CPU IA32_ONLY("x86") \
194 IA64_ONLY("ia64") \
195 AMD64_ONLY("amd64") \
196 ARM_ONLY("arm") \
197 PPC32_ONLY("ppc") \
198 PPC64_ONLY("ppc64") \
199 SPARC_ONLY("sparc")
200 #endif // ZERO
201
202 const char *Abstract_VM_Version::vm_platform_string() {
203 return OS "-" CPU;
204 }
205
206 const char* Abstract_VM_Version::internal_vm_info_string() {
207 #ifndef HOTSPOT_BUILD_USER
208 #define HOTSPOT_BUILD_USER unknown
209 #endif
210
211 #ifndef HOTSPOT_BUILD_COMPILER
212 #ifdef _MSC_VER
213 #if _MSC_VER == 1600
214 #define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
215 #elif _MSC_VER == 1700
216 #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
217 #elif _MSC_VER == 1800
218 #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
|
179 // stringStream cannot get resource allocated and will SEGV.
180 const char* Abstract_VM_Version::jre_release_version() {
181 return JRE_RELEASE_VERSION;
182 }
183
184 #define OS LINUX_ONLY("linux") \
185 WINDOWS_ONLY("windows") \
186 SOLARIS_ONLY("solaris") \
187 AIX_ONLY("aix") \
188 BSD_ONLY("bsd")
189
190 #ifdef ZERO
191 #define CPU ZERO_LIBARCH
192 #else
193 #define CPU IA32_ONLY("x86") \
194 IA64_ONLY("ia64") \
195 AMD64_ONLY("amd64") \
196 ARM_ONLY("arm") \
197 PPC32_ONLY("ppc") \
198 PPC64_ONLY("ppc64") \
199 AARCH64_ONLY("aarch64") \
200 SPARC_ONLY("sparc")
201 #endif // ZERO
202
203 const char *Abstract_VM_Version::vm_platform_string() {
204 return OS "-" CPU;
205 }
206
207 const char* Abstract_VM_Version::internal_vm_info_string() {
208 #ifndef HOTSPOT_BUILD_USER
209 #define HOTSPOT_BUILD_USER unknown
210 #endif
211
212 #ifndef HOTSPOT_BUILD_COMPILER
213 #ifdef _MSC_VER
214 #if _MSC_VER == 1600
215 #define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
216 #elif _MSC_VER == 1700
217 #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
218 #elif _MSC_VER == 1800
219 #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
|