RFR: 8240824: enhance print_full_memory_info on Linux by THP related information

Baesken, Matthias matthias.baesken at sap.com
Tue Mar 10 15:09:25 UTC 2020


Hello, please review this small enhancement .

On Linux, the change adds output of some files related to THP (transparent huge pages)   configuration to the hs_err file; the settings in those files configure how transparent huge pages are used on the system.

Example output in the hs_err file from a test machine :


/sys/kernel/mm/transparent_hugepage/enabled (transparent huge pages mode):
[always] madvise never

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




Bug/webrev :

https://bugs.openjdk.java.net/browse/JDK-8240824

http://cr.openjdk.java.net/~mbaesken/webrevs/8240824.0/


Thanks, Matthias



More information about the hotspot-dev mailing list