RFR (s) 8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files

Coleen Phillimore coleen.phillimore at oracle.com
Thu Jun 11 16:06:37 UTC 2015


Summary: summarize information from linux-x86; it's too long and redundant

The cpuinfo on one linux/x86 machine now prints:

/proc/cpuinfo:
model name      : Intel(R) Core(TM) i5-3550 CPU @ 3.30GHz

on 32 bit machine:
*
*/proc/cpuinfo:
model name      : Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz
**
Other linux platforms are unaffected because they don't print as much 
and information seems not redundant.

Rather than duplicating the pd_print_cpu_info function for all the 
os_cpu/linux* combinations, I added an ifdef.   In os_aix.cpp there's a 
pd_print_cpu_info, which is called from os::print_cpu_info that 
duplicates the information but I didn't touch it.

open webrev at http://cr.openjdk.java.net/~coleenp/8085865.01/
bug link https://bugs.openjdk.java.net/browse/JDK-8085865

Thanks,
Coleen




More information about the hotspot-runtime-dev mailing list