On Fri, 23 Sep 2022 11:52:15 GMT, Aleksey Shipilev <shade 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. ------------- PR: https://git.openjdk.org/jdk/pull/10403