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

ConstantPool::release_C_heap_structures not run in some circumstances

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b122

      Backports

        Description

        JDK 8 is leaking memory in VM_RedefineClasses::merge_cp_and_rewrite when repeating class redefinition:

        [0x00002aaaab1c2d5a] ConstantPool::ConstantPool(Array<unsigned char>*)+0x6a
        [0x00002aaaab1c307c] ConstantPool::allocate(ClassLoaderData*, int, Thread*)+0x14c
        [0x00002aaaab48aa7e] VM_RedefineClasses::merge_cp_and_rewrite(instanceKlassHandle, instanceKlassHandle, Thread*)+0x5e
        [0x00002aaaab48b5d3] VM_RedefineClasses::load_new_class_versions(Thread*)+0x4c3
                    (malloc=84362KB #719885)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aeriksso Andreas Eriksson (Inactive)
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: