RFR: 8291769: Translation of switch with record patterns could be improved [v3]
Jan Lahoda
jlahoda at openjdk.org
Fri Aug 12 09:00:17 UTC 2022
On Thu, 11 Aug 2022 18:12:39 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> just curious: is there any performance degradation in the compilation time while compiling `long` test cases?
I tried with a switch with 512+1 cases (record pattern for triplet, with nested record patterns for triplets), and on an informal test, the time seems to be roughly the same with and without this patch. (The switch is too big for a classfile without this patch, so the compilation fails during code generation without this patch.)
-------------
PR: https://git.openjdk.org/jdk/pull/9746
More information about the compiler-dev
mailing list