RFR: 8320655: awt screencast robot spin and sync issues with native libpipewire api [v3]

Anton Bobrov duke at openjdk.org
Fri Dec 1 16:49:30 UTC 2023


> This patch addresses the issues described in the https://bugs.openjdk.org/browse/JDK-8320655 by fixing the proper locking and signalling around libpipewire thread loop condition variables and also fixing libpipewire error detection and signalling and propagation to the screencast API. This makes the screencast robot stable enough to consistently make it thru the entire javax/swing jtreg suite without hanging and also significantly reduces CPU consumption as there is no longer any burning spinners since they are now waiting on related conditions proper.

Anton Bobrov has updated the pull request incrementally with one additional commit since the last revision:

  8320655: remove volatiles and do explicit cleanup on failure

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16794/files
  - new: https://git.openjdk.org/jdk/pull/16794/files/e6023b32..c764a854

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16794&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16794&range=01-02

  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16794.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16794/head:pull/16794

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


More information about the client-libs-dev mailing list