RFR: 8278475: G1 dirty card refinement by Java threads may get unnecessarily paused [v3]
Kim Barrett
kbarrett at openjdk.java.net
Tue Feb 1 15:47:56 UTC 2022
> 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.
Kim Barrett has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Merge branch 'master' into no-dequeue-when-should-yield
- fix typo
- fix
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7148/files
- new: https://git.openjdk.java.net/jdk/pull/7148/files/4ef92931..3b902a9a
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7148&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7148&range=01-02
Stats: 12767 lines in 685 files changed: 7399 ins; 2938 del; 2430 mod
Patch: https://git.openjdk.java.net/jdk/pull/7148.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7148/head:pull/7148
PR: https://git.openjdk.java.net/jdk/pull/7148
More information about the hotspot-gc-dev
mailing list