[jdk11u-dev] RFR: 8289477: Memory corruption with CPU_ALLOC, CPU_FREE on muslc

Thomas Stuefe stuefe at openjdk.org
Wed Jul 6 06:46:59 UTC 2022


Fixes a potential memory corruption (in 11 and 17, in 18 ++ it would "just" be an assert) if we run with more than 1024 CPUs on Alpine.

Fix is minimal and very safe.

This pull request contains a backport of commit [da6d1fc0](https://github.com/openjdk/jdk/commit/da6d1fc0e0aeb1fdb504aced4b0dba0290ec240f) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.

The commit being backported was authored by Thomas Stuefe on 30 Jun 2022 and was reviewed by David Holmes and Christoph Langer.

Thanks!

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

Commit messages:
 - Backport da6d1fc0e0aeb1fdb504aced4b0dba0290ec240f

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

PR: https://git.openjdk.org/jdk11u-dev/pull/1201


More information about the jdk-updates-dev mailing list