-
Enhancement
-
Resolution: Fixed
-
P4
-
15
-
b22
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8247769 | 11.0.9 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
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
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
- backported by
-
JDK-8247769 adjust output in os_linux
- Resolved