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

Reduce allocations when pretty printing JCTree during compilation

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • None
    • tools
    • b12

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: