hotspot/src/share/vm/runtime/vm_version.cpp
changeset 33105 294e48b4f704
parent 31620 53be635ad49c
child 33976 160793725e6f
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
    83 bool Abstract_VM_Version::_parallel_worker_threads_initialized = false;
    83 bool Abstract_VM_Version::_parallel_worker_threads_initialized = false;
    84 
    84 
    85 #ifdef ASSERT
    85 #ifdef ASSERT
    86 static void assert_digits(const char * s, const char * message) {
    86 static void assert_digits(const char * s, const char * message) {
    87   for (int i = 0; s[i] != '\0'; i++) {
    87   for (int i = 0; s[i] != '\0'; i++) {
    88     assert(isdigit(s[i]), message);
    88     assert(isdigit(s[i]), "%s", message);
    89   }
    89   }
    90 }
    90 }
    91 #endif
    91 #endif
    92 
    92 
    93 static void set_version_field(int * version_field, const char * version_str,
    93 static void set_version_field(int * version_field, const char * version_str,
   151   return XSTR(VENDOR);
   151   return XSTR(VENDOR);
   152 #else
   152 #else
   153   return "Oracle Corporation";
   153   return "Oracle Corporation";
   154 #endif
   154 #endif
   155 }
   155 }
   156 
       
   157 
   156 
   158 const char* Abstract_VM_Version::vm_info_string() {
   157 const char* Abstract_VM_Version::vm_info_string() {
   159   if (CodeCacheExtensions::use_pregenerated_interpreter()) {
   158   if (CodeCacheExtensions::use_pregenerated_interpreter()) {
   160     return "interpreted mode, pregenerated";
   159     return "interpreted mode, pregenerated";
   161   }
   160   }