Relocator needs work in nopermgen world

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 8
    • Component/s: hotspot
    • None
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: