RFR: 8336707: Contention of ForkJoinPool grows when stealing works [v21]

Doug Lea dl at openjdk.org
Sun Nov 10 17:51:43 UTC 2024


> This addresses tendencies in previous update to increase fencing, scanning, and signalling that can increase contention, and slow down performance especially on ARM platforms. It also uses more ARM-friendly constructions to reduce overhead (leading to several changes that all of the same form),

Doug Lea 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 40 additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8336707
 - Minor improvements
 - Merge branch 'openjdk:master' into JDK-8336707
 - Add CLEANED runState
 - Merge branch 'openjdk:master' into JDK-8336707
 - More shutdown streamlining
 - Don't report termination while cancellations in progress
 - Reduce read contention
 - Merge branch 'openjdk:master' into JDK-8336707
 - Reduce shutdown overhead and contention
 - ... and 30 more: https://git.openjdk.org/jdk/compare/1b2f97e6...4db28137

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21507/files
  - new: https://git.openjdk.org/jdk/pull/21507/files/96183529..4db28137

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21507&range=20
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21507&range=19-20

  Stats: 1270 lines in 10 files changed: 887 ins; 149 del; 234 mod
  Patch: https://git.openjdk.org/jdk/pull/21507.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21507/head:pull/21507

PR: https://git.openjdk.org/jdk/pull/21507


More information about the core-libs-dev mailing list