Integrated: 8278475: G1 dirty card refinement by Java threads may get unnecessarily paused

Kim Barrett kbarrett at openjdk.java.net
Tue Feb 1 15:47:56 UTC 2022


On Wed, 19 Jan 2022 22:31:19 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change to avoid attempts to refine dirty cards by Java
> threads when there is an active STS yield request, as the attempt will just
> end up being paused.  When going into a safepoint this avoids wasted work and
> transfer of buffers into the paused list.  More importantly, when coming out
> of a pause this avoids deferring buffers to after the next safepoint, due to
> the yield request being cleared after Java threads are restarted.
> 
> Testing:
> mach5 tier1
> 
> Lots of testing as part of investigation of JDK-8273383.

This pull request has now been integrated.

Changeset: 1f6fcbe2
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1f6fcbe2f3da4c63976b1564ec2170e4757fadcc
Stats:     8 lines in 1 file changed: 8 ins; 0 del; 0 mod

8278475: G1 dirty card refinement by Java threads may get unnecessarily paused

Reviewed-by: tschatzl, iwalulya

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

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



More information about the hotspot-gc-dev mailing list