On Mon, 15 Mar 2021 14:43:34 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:

> the benefits quite solid, and the problems not unsurmountable

I wouldn't call the benefits I saw on my personal machine solid. But then 
again, I'm not sure how to properly benchmark and evaluate results of that 
benchmarking for a change like this.

> Pavel, how exactly does `HtmlDocument.write()` access mutable objects like 
> `JavacFileManager`?

`DocFile.openWriter` invokes `BaseConfiguration.getOptions` and 
`JavaFileManager.getFileForOutput` on objects which are not thread-safe.

I think we should consider alternative routes of improving performance. For 
instance, could NIO both speedup I/O and simplify code?

-------------

PR: https://git.openjdk.java.net/jdk/pull/2665

Reply via email to