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

Replace C1-specific collection classes with universal collection classes

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b120
    • CPU:
      generic
    • OS:
      generic

      Description

      There are several collection classes in vm/utilities that used only in C1-related code and duplicate functionality provided by other collection classes that are used throughout the HS codebase.

      An example of such collections are ResourceArray subclasses that could be defined using define_array and define_stack macros (see vm/utilities/array.hpp). These classes provide almost the same API as GrowableArray and thus could be replaced by it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fzhinkin Filipp Zhinkin
                Reporter:
                fzhinkin Filipp Zhinkin
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: