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

AArch64: aarch64TestHook leaks a BufferBlob

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      aarch64
    • OS:
      linux

      Backports

        Description

        aarch64TestHook() is called from ICache::initialize() and allocates a 500k BufferBlob that it passes to entry() in assembler_aarch64.cpp which performs a self-test of the assembler. The BufferBlob needs to be explicitly freed or else it will hang around forever. Also we can just skip the allocation if ASSERT is not defined as the test is not performed in this case.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ngasson Nick Gasson
                Reporter:
                ngasson Nick Gasson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: