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

Reduce allocations when pretty printing JCTree during compilation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: