JVMTI FollowReferences is slow

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • hs22
    • Affects Version/s: hs21
    • Component/s: hotspot
    • None
    • b02
    • generic
    • generic
    • Not verified

        A performance issue with the Hotspot implementation of FollowReferences causes
        it to be 10x slower than JROckit.

        There is an unnecessary reset of a "visited" flag on Java heap objects.
        The flag is reset even when no objects are ever marked as visited.

        See attached patch file and diffs for a suggested fix.

              Assignee:
              Daniel Daugherty
              Reporter:
              Paul Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: