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

adjust output in os_linux

XMLWordPrintable

    • b22
    • generic
    • linux

        We should use the _print_ascii_file_h function at more places in os_linux.cpp . The function can print a header and an ASCII file which is done a few times e.g. in the hs_err file output .
        This also changes the output slightly.
        now the output looks like :

        /sys/kernel/mm/transparent_hugepage/enabled :
        [always] madvise never
        /sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter) :
        [always] madvise never

        /proc/sys/kernel/threads-max (system-wide limit on the number of threads) :
        1032335
        /proc/sys/vm/max_map_count (maximum number of memory map areas a process may have) :
        2147483647
        /proc/sys/kernel/pid_max (system-wide limit on number of process identifiers) :
        81920


        before we had more blanks :
        /sys/kernel/mm/transparent_hugepage/enabled:
        [always] madvise never

        /sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter):
        [always] madvise never


        /proc/sys/kernel/threads-max (system-wide limit on the number of threads):
        1032335


        /proc/sys/vm/max_map_count (maximum number of memory map areas a process may have):
        2147483647


        /proc/sys/kernel/pid_max (system-wide limit on number of process identifiers):
        81920

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: