< prev index next >

src/share/vm/runtime/vm_version.cpp

Print this page
rev 12087 : 8166560: [s390] Basic enablement of s390 port.


 153 //       fatal error handlers. if the crash is in native thread,
 154 //       stringStream cannot get resource allocated and will SEGV.
 155 const char* Abstract_VM_Version::jre_release_version() {
 156   return VERSION_STRING;
 157 }
 158 
 159 #define OS       LINUX_ONLY("linux")             \
 160                  WINDOWS_ONLY("windows")         \
 161                  SOLARIS_ONLY("solaris")         \
 162                  AIX_ONLY("aix")                 \
 163                  BSD_ONLY("bsd")
 164 
 165 #ifndef CPU
 166 #ifdef ZERO
 167 #define CPU      ZERO_LIBARCH
 168 #elif defined(PPC64)
 169 #if defined(VM_LITTLE_ENDIAN)
 170 #define CPU      "ppc64le"
 171 #else
 172 #define CPU      "ppc64"
 173 #endif
 174 #else
 175 #define CPU      IA32_ONLY("x86")                \
 176                  IA64_ONLY("ia64")               \
 177                  AMD64_ONLY("amd64")             \
 178                  AARCH64_ONLY("aarch64")         \


 179                  SPARC_ONLY("sparc")
 180 #endif //
 181 #endif
 182 
 183 const char *Abstract_VM_Version::vm_platform_string() {
 184   return OS "-" CPU;
 185 }
 186 
 187 const char* Abstract_VM_Version::internal_vm_info_string() {
 188   #ifndef HOTSPOT_BUILD_USER
 189     #define HOTSPOT_BUILD_USER unknown
 190   #endif
 191 
 192   #ifndef HOTSPOT_BUILD_COMPILER
 193     #ifdef _MSC_VER
 194       #if _MSC_VER == 1600
 195         #define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
 196       #elif _MSC_VER == 1700
 197         #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
 198       #elif _MSC_VER == 1800
 199         #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
 200       #else
 201         #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)




 153 //       fatal error handlers. if the crash is in native thread,
 154 //       stringStream cannot get resource allocated and will SEGV.
 155 const char* Abstract_VM_Version::jre_release_version() {
 156   return VERSION_STRING;
 157 }
 158 
 159 #define OS       LINUX_ONLY("linux")             \
 160                  WINDOWS_ONLY("windows")         \
 161                  SOLARIS_ONLY("solaris")         \
 162                  AIX_ONLY("aix")                 \
 163                  BSD_ONLY("bsd")
 164 
 165 #ifndef CPU
 166 #ifdef ZERO
 167 #define CPU      ZERO_LIBARCH
 168 #elif defined(PPC64)
 169 #if defined(VM_LITTLE_ENDIAN)
 170 #define CPU      "ppc64le"
 171 #else
 172 #define CPU      "ppc64"
 173 #endif // PPC64
 174 #else
 175 #define CPU      AARCH64_ONLY("aarch64")         \

 176                  AMD64_ONLY("amd64")             \
 177                  IA32_ONLY("x86")                \
 178                  IA64_ONLY("ia64")               \
 179                  S390_ONLY("s390")               \
 180                  SPARC_ONLY("sparc")
 181 #endif // !ZERO
 182 #endif // !CPU
 183 
 184 const char *Abstract_VM_Version::vm_platform_string() {
 185   return OS "-" CPU;
 186 }
 187 
 188 const char* Abstract_VM_Version::internal_vm_info_string() {
 189   #ifndef HOTSPOT_BUILD_USER
 190     #define HOTSPOT_BUILD_USER unknown
 191   #endif
 192 
 193   #ifndef HOTSPOT_BUILD_COMPILER
 194     #ifdef _MSC_VER
 195       #if _MSC_VER == 1600
 196         #define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
 197       #elif _MSC_VER == 1700
 198         #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
 199       #elif _MSC_VER == 1800
 200         #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
 201       #else
 202         #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)


< prev index next >