RFR: 8345052: Harden StampedLock

Doug Lea dl at openjdk.org
Tue Nov 26 18:13:04 UTC 2024


This applies the same kinds of recovery on OOME (by spinning) and JVM Exceptions (by cancelling) seen in AQS.

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

Commit messages:
 - Add fall-back on OOME, cancel on JVM exceptions

Changes: https://git.openjdk.org/jdk/pull/22396/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22396&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8345052
  Stats: 257 lines in 2 files changed: 207 ins; 7 del; 43 mod
  Patch: https://git.openjdk.org/jdk/pull/22396.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22396/head:pull/22396

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


More information about the core-libs-dev mailing list