Skip to content

Commit

Permalink
8322098: os::Linux::print_system_memory_info enhance the THP output w…
Browse files Browse the repository at this point in the history
…ith /sys/kernel/mm/transparent_hugepage/hpage_pmd_size

8323331: fix typo hpage_pdm_size

Backport-of: 419e01685b36aeccc47f52594a2026ccb2dcebb3
  • Loading branch information
MBaesken committed Feb 13, 2024
1 parent 33af090 commit 77b15bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/os/linux/os_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2206,6 +2206,8 @@ void os::Linux::print_system_memory_info(outputStream* st) {
// https://www.kernel.org/doc/Documentation/vm/transhuge.txt
_print_ascii_file_h("/sys/kernel/mm/transparent_hugepage/enabled",
"/sys/kernel/mm/transparent_hugepage/enabled", st);
_print_ascii_file_h("/sys/kernel/mm/transparent_hugepage/hpage_pmd_size",
"/sys/kernel/mm/transparent_hugepage/hpage_pmd_size", st);
_print_ascii_file_h("/sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter)",
"/sys/kernel/mm/transparent_hugepage/defrag", st);
}
Expand Down

1 comment on commit 77b15bb

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.