RFR: 8263476: NMT: Stack guard pages should not be marked as committed [v3]
    Albert Mingkun Yang 
    ayang at openjdk.org
       
    Mon Aug  4 14:04:15 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
Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
  review
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/26571/files
  - new: https://git.openjdk.org/jdk/pull/26571/files/0061fcb9..a248cff8
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26571&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26571&range=01-02
  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 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