mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
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:
parent
709d3d936e
commit
29a1b9c2ed
9 changed files with 56 additions and 15 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue