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

JVMTI spec: heap reference iteration callbacks should allow selective follow

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • hotspot
    • None
    • tiger
    • generic
    • generic

      Scalability issue --
      The object reference graph is huge. The current specification's
      reference callback scheme allows only two choices: recursively iterate all
      references or abort. An agent may know that it doesn't want to follow a
      particular reference but not want to abort the entire iteration. An example:
      when using IterateOverObjectsReachableFromObject(jobject) -- each object has
      a reference to its class, its class references references its class loader,
      its class loader references all its classes, these classes references the
      objects in their static fields, etc. This chain of reference may not be
      interesting to an agent.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: