Codeblob leaks name if installed via JVMCI CodeInstaller

XMLWordPrintable

      Found while I worked on JDK-8289633.

      JVMCI CodeInstaller strdup's the name before creating the codeblob in CodeInstaller::install(). Note that it uses raw strdup instead of os::strdup, which is why this does not show up in NMT. But ~CodeBlob does not release the name.

      AFAICS all other places where code blobs are created are using static strings.

            Assignee:
            Douglas Simon
            Reporter:
            Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: