RFR: 8263476: Use reserved memory for stack guard pages [v6]
Albert Mingkun Yang
ayang at openjdk.org
Mon Sep 15 13:31:55 UTC 2025
> 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~ tier1-8
Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:
- Merge branch 'master' into no-commit-stack-guard-page
- Merge branch 'master' into no-commit-stack-guard-page
- Merge branch 'master' into no-commit-stack-guard-page
- review
- review
- Merge branch 'master' into no-commit-stack-guard-page
- no-commit-stack-guard-page
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26571/files
- new: https://git.openjdk.org/jdk/pull/26571/files/5e4de066..8926dc1e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26571&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26571&range=04-05
Stats: 54615 lines in 1919 files changed: 32173 ins; 12898 del; 9544 mod
Patch: https://git.openjdk.org/jdk/pull/26571.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26571/head:pull/26571
PR: https://git.openjdk.org/jdk/pull/26571
More information about the hotspot-runtime-dev
mailing list