8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files

Summarize information from linux-x86; it's too long and redundant

Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
This commit is contained in:
Coleen Phillimore 2015-06-17 11:30:51 -04:00
parent 709d3d936e
commit 29a1b9c2ed
9 changed files with 56 additions and 15 deletions

View file

@ -832,7 +832,7 @@ void os::print_environment_variables(outputStream* st, const char** env_list) {
}
}
void os::print_cpu_info(outputStream* st) {
void os::print_cpu_info(outputStream* st, char* buf, size_t buflen) {
// cpu
st->print("CPU:");
st->print("total %d", os::processor_count());
@ -840,7 +840,7 @@ void os::print_cpu_info(outputStream* st) {
// st->print("(active %d)", os::active_processor_count());
st->print(" %s", VM_Version::cpu_features());
st->cr();
pd_print_cpu_info(st);
pd_print_cpu_info(st, buf, buflen);
}
void os::print_date_and_time(outputStream *st, char* buf, size_t buflen) {