hg: valhalla/valhalla/langtools: Tweak TypeVariablesMap attribute to mention enclosing contexts.
maurizio.cimadamore at oracle.com
maurizio.cimadamore at oracle.com
Mon Oct 20 17:17:49 UTC 2014
Changeset: 8198a8a48298
Author: mcimadamore
Date: 2014-10-20 18:17 +0100
URL: http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8198a8a48298
Tweak TypeVariablesMap attribute to mention enclosing contexts.
* Change the structure of the TypeVariableMap, so as to contain a list of entries,
each of which corresponds to a lexically enclosing scope declaring some type-variables. This allows
for fast type-variable lookups, which can be achieved w/o looking into InnerClass and EnclosingMethod attributes.
! src/jdk.compiler/share/classes/com/sun/tools/classfile/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/classfile/TypeVariablesMap_attribute.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/javap/AttributeWriter.java
More information about the valhalla-dev
mailing list