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

VectorSet cleanup

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 14
    • 14
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: