Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027181 Type Annotations Cleanup
  3. JDK-8037539

Inefficient implementation of Gen.setTypeAnnotationPositions

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      8

      Description

      The implementation of setTypeAnnotationPositions will iterate over N type annotations N times, looking for a specific tree position. This is O(N^2). The implementation should use a hash table or similar structure to reduce running times to O(N).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            emc Eric Mccorkle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: