hg: jdk10/master: 8186694: JShell: speed-up compilation by reusing compiler instances

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon Oct 16 15:54:25 UTC 2017


Changeset: d65c3b21081c
Author:    jlahoda
Date:      2017-09-01 14:04 +0200
URL:       http://hg.openjdk.java.net/jdk10/master/rev/d65c3b21081c

8186694: JShell: speed-up compilation by reusing compiler instances
Summary: Generalizing ReusableContext and using it in JShell to speed up processing.
Reviewed-by: mcimadamore, rfield

+ src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskPool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.jshell/share/classes/jdk/jshell/CompletenessAnalyzer.java
! src/jdk.jshell/share/classes/jdk/jshell/Eval.java
! src/jdk.jshell/share/classes/jdk/jshell/ExpressionToTypeInfo.java
! src/jdk.jshell/share/classes/jdk/jshell/ReplParserFactory.java
! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java
! src/jdk.jshell/share/classes/jdk/jshell/TaskFactory.java
! test/langtools/tools/javac/T7093325.java
! test/langtools/tools/javac/cast/intersection/IntersectionTypeCastTest.java
! test/langtools/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java
! test/langtools/tools/javac/defaultMethods/super/TestDefaultSuperCall.java
! test/langtools/tools/javac/failover/CheckAttributedTree.java
! test/langtools/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java
! test/langtools/tools/javac/generics/inference/8176534/TestUncheckedCalls.java
! test/langtools/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java
! test/langtools/tools/javac/lambda/FunctionalInterfaceConversionTest.java
! test/langtools/tools/javac/lambda/LambdaParserTest.java
! test/langtools/tools/javac/lambda/MethodReferenceParserTest.java
! test/langtools/tools/javac/lambda/TestInvokeDynamic.java
! test/langtools/tools/javac/lambda/TestLambdaToMethodStats.java
! test/langtools/tools/javac/lambda/bytecode/TestLambdaBytecode.java
! test/langtools/tools/javac/lambda/mostSpecific/StructuralMostSpecificTest.java
! test/langtools/tools/javac/lambda/typeInference/combo/TypeInferenceComboTest.java
! test/langtools/tools/javac/lib/combo/ComboTask.java
! test/langtools/tools/javac/lib/combo/ComboTestHelper.java
- test/langtools/tools/javac/lib/combo/ReusableContext.java
! test/langtools/tools/javac/multicatch/7030606/DisjunctiveTypeWellFormednessTest.java
! test/langtools/tools/javac/resolve/BitWiseOperators.java
+ test/langtools/tools/javac/tree/ScopeClassHeaderTest.java
+ test/langtools/tools/javac/util/JavacTaskPoolTest.java
! test/langtools/tools/javac/varargs/7042566/T7042566.java
! test/langtools/tools/javac/varargs/warning/Warn4.java
! test/langtools/tools/javac/varargs/warning/Warn5.java



More information about the jdk10-all-changes mailing list