RFR: 8272807: Permit use of memory concurrent with pretouch

Aleksey Shipilev shade at openjdk.java.net
Thu Aug 26 06:59:23 UTC 2021


On Thu, 26 Aug 2021 02:20:50 GMT, David Holmes <dholmes at openjdk.org> wrote:

> That said, how can we be actively using an oop located in a page that we are also in the process of pre-touching?

I think that is what this patch is supposed to enable: concurrent pretouch. Where "concurrent" might mean "concurrent with application code". For example, init the heap, let the Java code run, and then use a background GC worker to concurrently pre-touch the heap. ("Pre-" becomes a little fuzzy here...).

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

PR: https://git.openjdk.java.net/jdk/pull/5215


More information about the hotspot-runtime-dev mailing list