Reduce allocations when pretty printing JCTree during compilation

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: tools
    • b12

      See GitHub PR
      https://github.com/openjdk/jdk/pull/12667

      TL;DR: introduce and use a new private method `print(char)`, and avoid string concatenation in an argument to `print(Object)`.

      For full details see the introduction in the PR.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: