RFR: 8303078: Reduce allocations when pretty printing JCTree during compilation [v3]
Christoph Dreis
duke at openjdk.org
Wed Feb 22 22:16:48 UTC 2023
On Wed, 22 Feb 2023 21:59:12 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> Christoph Dreis has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - 8303078: Replace some more character print calls
>> - 8303078: Replace some more character print calls
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocPretty.java line 97:
>
>> 95: * Print list with separators.
>> 96: */
>> 97: protected void print(List<? extends DocTree> list, char sep) throws IOException {
>
> See comment above, suggesting that we reduce access to `private`.
Done
-------------
PR: https://git.openjdk.org/jdk/pull/12667
More information about the compiler-dev
mailing list