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

VectorSet cleanup

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b23

      Description

      VectorSet is the only concrete implementation of the abstract base class Set in the libadt folder. This is a utility used mainly by compiler code, although there are some uses in GC code.

      - Extravagant use of operator overloading (<<= adds items to the set, >>= removes them)
      - Plenty of unused methods
      - Since VectorSet is the only implementation in the code base, Set is unnecessary
      - Various method names in conflict with HotSpot standard

      Cleaning up and removing dead code gets rid of around ~700 lines of code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              redestad Claes Redestad
              Reporter:
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: