hg: jdk/submit: 8193717: Import resolution performance regression in JDK 9
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Tue May 29 11:18:40 UTC 2018
Changeset: 64c880300d9b
Author: jlahoda
Date: 2018-05-29 13:17 +0200
URL: http://hg.openjdk.java.net/jdk/submit/rev/64c880300d9b
8193717: Import resolution performance regression in JDK 9
Summary: Avoiding iteration through all sub-scopes of single import scope when looking up by name by only using those that may contain the given name.
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacScope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/langtools/tools/javac/importscope/T8193717.java
! test/langtools/tools/javac/lib/DPrinter.java
More information about the jdk-submit-changes
mailing list