RFR: 8339296: Record deconstruction pattern in switch fails to compile
Vicente Romero
vromero at openjdk.org
Fri Sep 27 15:05:42 UTC 2024
On Fri, 27 Sep 2024 12:27:32 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> The approach seems good. I left some modelling questions. As you notice, I'm skeptical that just handling unknown types better is going to be the last time we see issues like this. E.g. the switch code in `Attr` seems to be doing way too much when we're in speculative mode.
I agree with Maurizio that we are probably doing too much in speculative mode in the switch. I wonder if this patch should be part of the code that will refactor what we are doing there. I would expect any refactoring of what it is done in the switch code to affect this current PR
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20990#issuecomment-2379484119
More information about the compiler-dev
mailing list