RFR: 8257073: ZGC: Try forward object before retaining page

Albert Mingkun Yang ayang at openjdk.java.net
Wed Nov 25 14:05:00 UTC 2020


On Wed, 25 Nov 2020 12:44:01 GMT, Per Liden <pliden at openjdk.org> wrote:

> This is a follow up to @albertnetymk's comment in the review of #1228, where he suggested that we could try to forward the object before we go ahead and retain the page. This could be an optimization in two cases:
> 1) A mutator would avoid a relocation stall in case the page is claimed, but the object the mutator is interested in has already been relocated.
> 2) The worker thread detaching the page would not have to wait for a mutator that is just forwarding an object.

Marked as reviewed by ayang (Author).

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

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



More information about the hotspot-gc-dev mailing list