Improve java.net.URI$Parser startup characteristics

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • b101
    • generic
    • generic

      Creating URI objects in interpreted code is rather costly (14-50 us/op), mostly due to a number of methods in URI$Parser wrapping simple methods on the input String.

      Inlining some of the simplest of these methods (charAt/substring) improves interpreted code 15-30% without affecting generated code quality.

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

              Created:
              Updated:
              Resolved: