RFR: 8263185: Mallinfo deprecated in glibc 2.33 [v4]

Christoph Göttschkes cgo at openjdk.java.net
Tue Mar 16 10:15:26 UTC 2021


> Starting with glibc 2.33, mallinfo is deprecated in favor of the new mallinfo2 API. Both APIs work the same way, the only difference is, that mallinfo2 uses size_t instead of int for the fields of the struct, containing the information about malloc. Please see the [glibc release notes](https://sourceware.org/pipermail/libc-alpha/2021-February/122207.html).
> 
> Testing with tier1 on a system with glibc 2.33 and on a system with glibc 2.31.

Christoph Göttschkes has updated the pull request incrementally with one additional commit since the last revision:

  Resolve mallinfo and mallinfo2 in os::init.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2964/files
  - new: https://git.openjdk.java.net/jdk/pull/2964/files/ca37a59e..1dd4ac92

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2964&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2964&range=02-03

  Stats: 27 lines in 2 files changed: 10 ins; 3 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2964.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2964/head:pull/2964

PR: https://git.openjdk.java.net/jdk/pull/2964


More information about the hotspot-runtime-dev mailing list