RFR: 8263476: NMT: Stack guard pages should not be marked as committed [v3]
Johan Sjölen
jsjolen at openjdk.org
Tue Aug 5 10:20:05 UTC 2025
On Mon, 4 Aug 2025 14:04:15 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> Use reserved (instead of committed) memory for stack-guard-pages on linux like systems.
>>
>> `os::must_commit_stack_guard_pages` uses `commit` in its name, but `commit` usually has specific meanings in OS memory context. The actual question the caller is asking is whether the caller needs to do some preparation work before marking the guard-pages as inaccessible. To avoid confusion, I changed it to "allocate". Other suggestions are welcome.
>>
>> Test: tier1-3
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>
> review
I like this solution, and I'm open to the idea of changing the title and contents of the ticket.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26571#issuecomment-3154583191
More information about the hotspot-runtime-dev
mailing list