RFR: 8369039: JDK-8348611 caused regression in Javac-Hot-Generate [v3]

Jan Lahoda jlahoda at openjdk.org
Tue Oct 7 19:38:25 UTC 2025


On Tue, 7 Oct 2025 18:22:43 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:

>> The refactoring in [JDK-8348611](https://bugs.openjdk.org/browse/JDK-8348611) caused a regression in compiler performance. In the the refactoring there were a couple of simple optimizations that were missed. When put in place, these seem to (mostly) address the performance issue.
>
> Archie Cobbs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Do more desugaring of Stream and Optional.

I did a quick pass through the code, and looks sensible so far. Assuming it helps with resolving the problem. I'll go through the change in more detail tomorrow.

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

PR Comment: https://git.openjdk.org/jdk/pull/27651#issuecomment-3378444727


More information about the compiler-dev mailing list