RFR: 8369039: JDK-8348611 caused regression in Javac-Hot-Generate [v3]
Archie Cobbs
acobbs at openjdk.org
Wed Oct 8 15:34:30 UTC 2025
On Wed, 8 Oct 2025 14:55:20 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
> Argh, ignore that, I was looking at something else. So "2" is the right number on average.
But there's no reason for that! 99.99% of package declarations have no annotations and therefore do not need to wait for attribution. So we can get this number down to "1".
I was curious if that would make any difference (using [this additional patch](https://github.com/archiecobbs/jdk/compare/JDK-8369039...archiecobbs:jdk:JDK-8369039-opt1)). When I try it on my laptop I get a slight improvement:
Benchmark (stopStage) Mode Cnt Score Error Units
SingleJavacBenchmark.compileHot Generate ss 10 14.841 ± 0.618 s/op
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27651#discussion_r2414270544
More information about the compiler-dev
mailing list