8319220: Pattern matching switch with a lot of cases is unduly slow ยท openjdk/jdk@0c9a61c

Reviewed-by: asotona, vromero
github.com github.com