RFR: JDK-8312182: THPs cause huge RSS due to thread start timing issue [v4]
Thomas Stuefe
stuefe at openjdk.org
Fri Jul 21 05:27:45 UTC 2023
On Fri, 21 Jul 2023 05:01:03 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Feedback Poonam
>
> src/hotspot/os/linux/os_linux.cpp line 3777:
>
>> 3775: // thread stacks unless the user explicitly allowed THP formation by manually disabling
>> 3776: // -XX:+DisableTHPStackMitigation.
>> 3777: if (HugePages::thp_mode() == THPMode::always) {
>
> What controls this? The user launching the VM? The OS configuration? Or both?
The OS, so ultimately the Admin that set up the OS.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14919#discussion_r1270237082
More information about the hotspot-runtime-dev
mailing list