src/hotspot/cpu/s390/vm_version_s390.cpp
changeset 54485 ddc19ea5059c
parent 53789 b776653628c5
child 54960 e46fe26d7f77
equal deleted inserted replaced
54484:72f05350b4b3 54485:ddc19ea5059c
   514       tty->print_cr("ContendedPaddingWidth " INTX_FORMAT, ContendedPaddingWidth);
   514       tty->print_cr("ContendedPaddingWidth " INTX_FORMAT, ContendedPaddingWidth);
   515     }
   515     }
   516   }
   516   }
   517 }
   517 }
   518 
   518 
       
   519 void VM_Version::print_platform_virtualization_info(outputStream* st) {
       
   520   // /proc/sysinfo contains interesting information about
       
   521   // - LPAR
       
   522   // - whole "Box" (CPUs )
       
   523   // - z/VM / KVM (VM<nn>); this is not available in an LPAR-only setup
       
   524   const char* kw[] = { "LPAR", "CPUs", "VM", NULL };
       
   525   const char* info_file = "/proc/sysinfo";
       
   526 
       
   527   if (!print_matching_lines_from_file(info_file, st, kw)) {
       
   528     st->print_cr("  <%s Not Available>", info_file);
       
   529   }
       
   530 }
       
   531 
   519 void VM_Version::print_features() {
   532 void VM_Version::print_features() {
   520   print_features_internal("Version:");
   533   print_features_internal("Version:");
   521 }
   534 }
   522 
   535 
   523 void VM_Version::reset_features(bool reset) {
   536 void VM_Version::reset_features(bool reset) {