Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8085865

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b72

      Backports

        Description

        On linux only, we print /proc/cpuinfo into the hs_err files which can be really long and redundant information for each processor and especially annoying when we have a lot of processors. We already print this:

        CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, tsc, tscinvbit, tscinv

        Not sure why we need the /proc/cpuinfo printed out. I don't know if anyone would ever use this specific (redundant) information to diagnose a problem.

        os_aix.cpp has pd_print_cpu_info() which is called from os::print_cpu_info() which prints the exact same thing and should be removed.

        It looks like this code was separated out of some other code that added this printing.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                coleenp Coleen Phillimore
                Reporter:
                coleenp Coleen Phillimore
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: