< prev index next >

src/hotspot/share/runtime/vm_version.cpp

Print this page




 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)"
 219       #elif _MSC_VER == 1900
 220         #define HOTSPOT_BUILD_COMPILER "MS VC++ 14.0 (VS2015)"


 221       #elif _MSC_VER == 1912
 222         #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.5 (VS2017)"
 223       #elif _MSC_VER == 1913
 224         #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.6 (VS2017)"




 225       #else
 226         #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
 227       #endif
 228     #elif defined(__SUNPRO_CC)
 229       #if   __SUNPRO_CC == 0x420
 230         #define HOTSPOT_BUILD_COMPILER "Workshop 4.2"
 231       #elif __SUNPRO_CC == 0x500
 232         #define HOTSPOT_BUILD_COMPILER "Workshop 5.0 compat=" XSTR(__SUNPRO_CC_COMPAT)
 233       #elif __SUNPRO_CC == 0x520
 234         #define HOTSPOT_BUILD_COMPILER "Workshop 5.2 compat=" XSTR(__SUNPRO_CC_COMPAT)
 235       #elif __SUNPRO_CC == 0x580
 236         #define HOTSPOT_BUILD_COMPILER "Workshop 5.8"
 237       #elif __SUNPRO_CC == 0x590
 238         #define HOTSPOT_BUILD_COMPILER "Workshop 5.9"
 239       #elif __SUNPRO_CC == 0x5100
 240         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u1"
 241       #elif __SUNPRO_CC == 0x5120
 242         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u3"
 243       #elif __SUNPRO_CC == 0x5130
 244         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u4"




 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)"
 219       #elif _MSC_VER == 1900
 220         #define HOTSPOT_BUILD_COMPILER "MS VC++ 14.0 (VS2015)"
 221       #elif _MSC_VER == 1911
 222         #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.3 (VS2017)"
 223       #elif _MSC_VER == 1912
 224         #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.5 (VS2017)"
 225       #elif _MSC_VER == 1913
 226         #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.6 (VS2017)"
 227       #elif _MSC_VER == 1914
 228         #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.7 (VS2017)"
 229       #elif _MSC_VER == 1915
 230         #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.8 (VS2017)"
 231       #else
 232         #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
 233       #endif
 234     #elif defined(__SUNPRO_CC)
 235       #if   __SUNPRO_CC == 0x420
 236         #define HOTSPOT_BUILD_COMPILER "Workshop 4.2"
 237       #elif __SUNPRO_CC == 0x500
 238         #define HOTSPOT_BUILD_COMPILER "Workshop 5.0 compat=" XSTR(__SUNPRO_CC_COMPAT)
 239       #elif __SUNPRO_CC == 0x520
 240         #define HOTSPOT_BUILD_COMPILER "Workshop 5.2 compat=" XSTR(__SUNPRO_CC_COMPAT)
 241       #elif __SUNPRO_CC == 0x580
 242         #define HOTSPOT_BUILD_COMPILER "Workshop 5.8"
 243       #elif __SUNPRO_CC == 0x590
 244         #define HOTSPOT_BUILD_COMPILER "Workshop 5.9"
 245       #elif __SUNPRO_CC == 0x5100
 246         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u1"
 247       #elif __SUNPRO_CC == 0x5120
 248         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u3"
 249       #elif __SUNPRO_CC == 0x5130
 250         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u4"


< prev index next >