RFR: JDK-8262068: Improve G1 Full GC by skipping compaction for regions with high survival ratio [v11]

Hamlin Li mli at openjdk.java.net
Sat Mar 27 06:37:27 UTC 2021


On Sat, 27 Mar 2021 05:59:57 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> Just because a `ClosedArchive` region is by default pinned at this time, it does not mean it will be in the future. There are no immediate plans for that, but I can think of some edge cases where it could be useful.
>> 
>> The correct (and intended) predicate for this check in this context is `is_pinned()`, although at the moment they have the same effect.
>
> I see, thanks for clarifying.

For "is_pinned()", do you mean the method in HeapRegion?

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

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



More information about the hotspot-gc-dev mailing list