Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263185

Mallinfo deprecated in glibc 2.33

    XMLWordPrintable

Details

    • b15
    • generic
    • linux

    Backports

      Description

        Glibc 2.33 deprecates the mallinfo API in favor of the new mallinfo2 API. The API stays nearly the same, only the types in the struct containing the malloc information has changed. Fields in the new API are size_t instead of int.

        Compiling against glibc 2.33 triggers a warning (because of mallinfo deprecation), which becomes an error if --disable-warnings-as-errors is not used.

        See https://sourceware.org/pipermail/libc-alpha/2021-February/122207.html

        Attachments

          Issue Links

            Activity

              People

                cgo Christoph Göttschkes
                cgo Christoph Göttschkes
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: