hg: jdk/submit: 8237528: Inefficient compilation of Pattern Matching for instanceof
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Wed Jan 29 09:39:01 UTC 2020
Changeset: 2a46b7b81e78
Author: jlahoda
Date: 2020-01-29 10:37 +0100
URL: https://hg.openjdk.java.net/jdk/submit/rev/2a46b7b81e78
8237528: Inefficient compilation of Pattern Matching for instanceof
Summary: Avoiding unnecessary cast and comparison in type test pattern desugaring.
Reviewed-by: forax, mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java
! test/langtools/tools/javac/annotations/typeAnnotations/classfile/Patterns.java
! test/langtools/tools/javac/patterns/LocalVariableTable.java
+ test/langtools/tools/javac/patterns/NoUnnecessaryCast.java
More information about the jdk-submit-changes
mailing list