RFR: 8291769: Translation of switch with record patterns could be improved [v3]

Vicente Romero vromero at openjdk.org
Fri Aug 12 13:29:11 UTC 2022


On Fri, 12 Aug 2022 08:56:40 GMT, Jan Lahoda <jlahoda 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.)

nice, thanks

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

PR: https://git.openjdk.org/jdk/pull/9746


More information about the compiler-dev mailing list