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

StringConcatFactory: remove short and byte mixers/prependers

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • None
    • core-libs
    • None

      The short and byte mixers and prependers just delegate to the int variants. At the LambdaForm level the values has already been implicitly cast to int, so removing these and directly adapting to call the int-based variants reduces a few steps.

      This is mainly a cleanup. Most of the generated machinery deal with basic types where byte and short has been widened to int, so this has little actual effect on bootstrap times or other overheads. (Same number of generated classes; a slight reduction in generated MethodTypes, etc.).

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

              Created:
              Updated:
              Resolved: