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

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

XMLWordPrintable

    • b02
    • generic
    • generic

        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).

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: