[jdk17u-dev] RFR: 8294717: (bf) DirectByteBuffer constructor will leak if allocating Deallocator or Cleaner fails with OOME

Aleksey Shipilev shade at openjdk.org
Wed May 24 19:51:19 UTC 2023


Clean backport to eliminate a leak corner case.

Additional testing:
 - [ ] Linux x86_64 fastdebug `tier1 tier2 tier3`

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

Commit messages:
 - Backport 4cbac40de956974760cf54183b3ba29f0b5ec331

Changes: https://git.openjdk.org/jdk17u-dev/pull/1396/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1396&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8294717
  Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1396.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1396/head:pull/1396

PR: https://git.openjdk.org/jdk17u-dev/pull/1396


More information about the jdk-updates-dev mailing list