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

Avoid exceptional control flow in Configuration.getText

XMLWordPrintable

    • b120
    • generic
    • generic
    • Not verified

      Profiling javadoc shows that the exceptional path in Configuration.getText is often taken across various benchmarks.

      Exposing a way to check if a text key exists in the MessageRetriever avoids the exceptional flow and brings an improvement ranging from 3 to 19% in a set of different workloads.

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

              Created:
              Updated:
              Resolved: