hg: valhalla/valhalla/langtools: Enhancement: type-specialization backend overhaul

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Dec 8 14:42:48 UTC 2015


Changeset: 2b24dfe17c16
Author:    mcimadamore
Date:      2015-12-08 14:42 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2b24dfe17c16

Enhancement: type-specialization backend overhaul
* preserve unerased types as much as possible across the compiler pipeline
* push specialization logic into the backend
* remove support for specialized class symbols
* constant pool support rewrite
* explicit symbolic representation for method type types and method handles
* simplified Items classes (more to come)

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Items.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Pool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java
! test/tools/javac/lambda/TestInvokeDynamic.java
! test/tools/javac/scope/7046348/EagerInterfaceCompletionTest.java
! test/tools/javac/valhalla/typespec/ObjectMethods.out
! test/tools/javac/valhalla/typespec/items/tests/TestRespecialization.java
! test/tools/javap/MethodParameters.java



More information about the valhalla-dev mailing list