-XX:[+|-]TransparentHugePage
(Linux® systems only: x86, POWER®, and IBM Z®)
If Transparent Huge Pages (THP) is set to madvise
on your system, this option, when enabled, promotes all memory allocated to huge pages. On systems without THP, or if THP is set to always
or never
on your system, this option is ignored. When transparent huge pages are used, your application footprint might increase.
Syntax
Setting | Effect | Default |
---|---|---|
-XX:+TransparentHugePage |
Enable | yes |
-XX:-TransparentHugePage |
Disable |