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

VectorSet cleanup

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • hotspot
    • b23

      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.

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

              Created:
              Updated:
              Resolved: