RFR: 8315923: pretouch_memory by atomic-add-0 fragments huge pages unexpectedly [v21]

Liming Liu duke at openjdk.org
Thu Jan 25 03:59:33 UTC 2024


On Wed, 10 Jan 2024 07:30:52 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Liming Liu has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available.
>
> Maybe a stupid question, but if we are still worried about concurrent use of memory that is in the process of being madvised, could we not just limit this technique to initialization time? 
> 
> I would expect most uses of pretouch to go together with -Xmx = -Xms, and to happen before mutators start.

Hi, @tstuefe , @jdksjolen & @kimbarrett . Could you please take a look?

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

PR Comment: https://git.openjdk.org/jdk/pull/15781#issuecomment-1909302895


More information about the hotspot-runtime-dev mailing list