Exponential compilation time for List.of(Map.entry) expressions
Dawid Weiss
dawid.weiss at gmail.com
Thu Jan 16 15:28:12 UTC 2025
Yes, it seems to be the same issue.
> this looks like another instance of [1], is this something affecting
> test cases or production code?
>
My particular case was in tests, where the code contained a few hundred
language-code-name pairs
but this is affecting compilation in general - any source that contains
this pattern will
be increasingly slow (and computationally expensive) to compile.
Clearly exponential cost with the number of entries.
Dawid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20250116/818f7e30/attachment.htm>
More information about the compiler-dev
mailing list