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

ZUtils::alloc_aligned allocates without reporting to NMT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 24
    • 24
    • hotspot
    • gc
    • b11

    Description

      ZUtils::alloc_aligned allocates with posix_memalign without registering the allocation with NMT. This makes us under report allocated c-heap memory.

      Consider adding appropriate calls to NMT to register this memory, or update the code to use os::malloc and manually align the memory.

      Attachments

        Issue Links

          Activity

            People

              jsikstro Joel Sikstrom
              stefank Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: