src/share/vm/runtime/vm_version.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_full Sdiff src/share/vm/runtime

src/share/vm/runtime/vm_version.cpp

Print this page
rev 2695 : shared changes


 150     case Arguments::_int:
 151       return UseSharedSpaces ? "interpreted mode, sharing" : "interpreted mode";
 152     case Arguments::_mixed:
 153       return UseSharedSpaces ? "mixed mode, sharing"       :  "mixed mode";
 154     case Arguments::_comp:
 155       return UseSharedSpaces ? "compiled mode, sharing"    : "compiled mode";
 156   };
 157   ShouldNotReachHere();
 158   return "";
 159 }
 160 
 161 // NOTE: do *not* use stringStream. this function is called by
 162 //       fatal error handler. if the crash is in native thread,
 163 //       stringStream cannot get resource allocated and will SEGV.
 164 const char* Abstract_VM_Version::vm_release() {
 165   return VM_RELEASE;
 166 }
 167 
 168 #define OS       LINUX_ONLY("linux")             \
 169                  WINDOWS_ONLY("windows")         \
 170                  SOLARIS_ONLY("solaris")

 171 
 172 #ifdef ZERO
 173 #define CPU      ZERO_LIBARCH
 174 #else
 175 #define CPU      IA32_ONLY("x86")                \
 176                  IA64_ONLY("ia64")               \
 177                  AMD64_ONLY("amd64")             \
 178                  ARM_ONLY("arm")                 \
 179                  PPC_ONLY("ppc")                 \
 180                  SPARC_ONLY("sparc")
 181 #endif // ZERO
 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




 150     case Arguments::_int:
 151       return UseSharedSpaces ? "interpreted mode, sharing" : "interpreted mode";
 152     case Arguments::_mixed:
 153       return UseSharedSpaces ? "mixed mode, sharing"       :  "mixed mode";
 154     case Arguments::_comp:
 155       return UseSharedSpaces ? "compiled mode, sharing"    : "compiled mode";
 156   };
 157   ShouldNotReachHere();
 158   return "";
 159 }
 160 
 161 // NOTE: do *not* use stringStream. this function is called by
 162 //       fatal error handler. if the crash is in native thread,
 163 //       stringStream cannot get resource allocated and will SEGV.
 164 const char* Abstract_VM_Version::vm_release() {
 165   return VM_RELEASE;
 166 }
 167 
 168 #define OS       LINUX_ONLY("linux")             \
 169                  WINDOWS_ONLY("windows")         \
 170                  SOLARIS_ONLY("solaris")         \
 171                  BSD_ONLY("bsd")
 172 
 173 #ifdef ZERO
 174 #define CPU      ZERO_LIBARCH
 175 #else
 176 #define CPU      IA32_ONLY("x86")                \
 177                  IA64_ONLY("ia64")               \
 178                  AMD64_ONLY("amd64")             \
 179                  ARM_ONLY("arm")                 \
 180                  PPC_ONLY("ppc")                 \
 181                  SPARC_ONLY("sparc")
 182 #endif // ZERO
 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


src/share/vm/runtime/vm_version.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File