RFR: 8263476: Use reserved memory for stack guard pages [v3]
    snake66 
    duke at openjdk.org
       
    Wed Aug  6 09:22:02 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
>From the perspective of FreeBSD, I think this patch will simplify things a bit for us. Need to test it to be sure, but I'm confident it will not make things any harder for us at least :)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26571#issuecomment-3158535505
    
    
More information about the hotspot-runtime-dev
mailing list