[jdk19] RFR: 8288850: SegmentAllocator:allocate() can return null some cases

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Jul 11 15:12:21 UTC 2022


This patch fixes an issue where the arena allocator does not detect an overflow when attempting to allocate a new slice.

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

Commit messages:
 - Initial push

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

PR: https://git.openjdk.org/jdk19/pull/133


More information about the core-libs-dev mailing list