RFR: 8236926: Concurrently uncommit memory in G1 [v8]

Stefan Johansson sjohanss at openjdk.java.net
Wed Nov 18 20:44:30 UTC 2020


On Wed, 18 Nov 2020 09:24:47 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> 256M is just a "reasonable" limit that I picked to get short enough invocations. I updated the comment a bit.
>
> One suggestion I have is to make this a static constant in the class declaration not dig it up somewhere in the code.

Moved the 256 * M out to be a class constant, leaving the region limit here since it is not known compile time.

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

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


More information about the hotspot-dev mailing list