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

NPG: FollowReferences has no ClassLoader -> Class link to follow

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Before the permgen removal the classes defined by a class loader could be found in the ClassLoader.classes Vector.

        After the the permgen removal this vector is not populated anymore. Instead the GC finds the classes through C++ objects outside the heap.

        This change breaks tests and code relying on FollowReference to find java.lang.Class instances from a java.lang.ClassLoader instance.
        I think
        nsk/jdi/ReferenceType/instances/instances004
        also affected by this bug (or rather fixed by this fix).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                coleenp Coleen Phillimore
                Reporter:
                stefank Stefan Karlsson
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: