[jdk19] RFR: 8289477: Memory corruption with CPU_ALLOC, CPU_FREE on muslc
Thomas Stuefe
stuefe at openjdk.org
Wed Jul 6 06:45:11 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/jdk19/pull/112/files
Webrev: https://webrevs.openjdk.org/?repo=jdk19&pr=112&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/jdk19/pull/112.diff
Fetch: git fetch https://git.openjdk.org/jdk19 pull/112/head:pull/112
PR: https://git.openjdk.org/jdk19/pull/112
More information about the hotspot-runtime-dev
mailing list