Updated the tryMatchData call to also use the getVolatileWaiter() method.
Added regression test

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Removed whitespace
 - Add regression test for LinkedTransferQueue::tryMatchData
 - Replace unpark call parameter with getVolatileWaiter result

Changes: https://git.openjdk.org/jdk/pull/33551/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33551&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8395712
  Stats: 85 lines in 2 files changed: 84 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/33551.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33551/head:pull/33551

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

Reply via email to