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

Avoid passing EnumDescs and extra classes to type switch methods that don't use them

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • tools
    • None
    • b13

      In SwitchBootstraps we currently inject lists of EnumDescs and extra Classes for some cases. In practice many enums don't need those lists to be passed, and we could refactor to only pass through such arguments when either is needed.

      This can reduces cycles spent bootstrapping and reduces number of classes required to bootstrap switches somewhat.

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

              Created:
              Updated:
              Resolved: