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

Consolidate Object and String Stringifiers

XMLWordPrintable

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

      With JDK-8213478 in place, startup behavior of ISC could improve by consolidating the Object and String Stringifiers into a single one. This allows for a significant reduction in LFs and BMH shapes to make up expressions that mix String and Object arguments, especially for the default strategy.

      While this theoretically introduce an extra branch in cases where we're Stringifying String arguments, microbenchmarks indicate that we're performance neutral (or at least within noise levels) in such cases, while we're significantly improving throughput performance in cases with multiple Object arguments, likely due the simplified shape of the resulting expression.

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

              Created:
              Updated:
              Resolved: