RFR: 8352569: NMT: mmap limits

Rui Li duke at openjdk.org
Tue Apr 1 02:02:36 UTC 2025


With [JDK-8291878](https://bugs.openjdk.org/browse/JDK-8291878), we have a way to limit the native memory size created by malloc.

It'll be nice to have a counterpart for mmap. E.g., [JDK-8350860](https://bugs.openjdk.org/browse/JDK-8350860) will have a good use of mmap limit jvm arg.

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

Commit messages:
 - 8352569: NMT: mmap limits

Changes: https://git.openjdk.org/jdk/pull/24343/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24343&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352569
  Stats: 1575 lines in 20 files changed: 910 ins; 628 del; 37 mod
  Patch: https://git.openjdk.org/jdk/pull/24343.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24343/head:pull/24343

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


More information about the hotspot-runtime-dev mailing list