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

Relocator needs work in nopermgen world

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • None
    • 8
    • hotspot
    • None
    • generic
    • generic

    Description

      While the relocator is running if it adds bytecodes, foreach one it adds it creates a new methodOop and drops references to the old one expecting permgen collection to clean things up.
      See Relocator::insert_space_at()
      This is used by the rewriter if jsr bytecodes are found to resolve the ambiguity with jsr/ret. It is also used by RedefineClasses in the case where an ldc index exceeds a byte due to method rewriting.
      We might have to allocate Methods in CHeap memory and copy them to permgen as one of the the last link steps.

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: