RFR: JDK-8294266: Add a way to pre-touch java thread stacks

Kim Barrett kbarrett at openjdk.org
Sun Nov 13 20:54:32 UTC 2022


On Fri, 23 Sep 2022 13:58:53 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> > Drive-by comment: there is `os::pretouch_memory(void* start, void* end, size_t page_size)` ;)
> 
> Good point. Had to cast the volatile away though.

Just happened to notice this going by.  Maybe the signature for pretouch_memory should have volatile qualifiers?

-------------

PR: https://git.openjdk.org/jdk/pull/10403


More information about the hotspot-dev mailing list