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

Mallinfo deprecated in glibc 2.33

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11.0.11, 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      generic
    • OS:
      linux

      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

              Assignee:
              cgo Christoph Göttschkes
              Reporter:
              cgo Christoph Göttschkes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: