On Tue, 6 May 2025 17:16:32 GMT, Shaojin Wen <s...@openjdk.org> wrote:

>> I have the old switch format in anticipation of faster startup.
>
> enhanced 'switch' is just syntax sugar and does not affect startup speed

I looked at the generated bytecode through javap and confirmed that the 
enhanced switch is just syntactic sugar and no additional classes are generated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25043#discussion_r2076686117

Reply via email to