hg: valhalla/valhalla/jdk: Enhancement: add support for anyfied wildcards in specializer

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Jul 9 15:16:04 UTC 2015


Changeset: 62c1ff2e7c3a
Author:    mcimadamore
Date:      2015-07-09 16:10 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/62c1ff2e7c3a

Enhancement: add support for anyfied wildcards in specializer
* all specialization share common (virtual interface) supertype
* add support for dynamic boxing/bridge generation
* add boostrap for virtual access on anyfied wildcards parameterized types
* Pipeline refactoring to take into account anyfied wildcards (contributed by: bgoetz at oracle.com)
* add simple anyfied pipeline test
* add several tests for anyfied wildcards accessors

! src/java.base/share/classes/java/anyutil/Optional.java
! src/java.base/share/classes/java/anyutil/PrimitiveIterator.java
! src/java.base/share/classes/java/anyutil/Spliterator.java
! src/java.base/share/classes/java/anyutil/stream/AbstractShortCircuitTask.java
! src/java.base/share/classes/java/anyutil/stream/AbstractTask.java
! src/java.base/share/classes/java/anyutil/stream/FindOps.java
! src/java.base/share/classes/java/anyutil/stream/ForEachOps.java
! src/java.base/share/classes/java/anyutil/stream/MatchOps.java
! src/java.base/share/classes/java/anyutil/stream/Nodes.java
! src/java.base/share/classes/java/anyutil/stream/Pipeline.java
! src/java.base/share/classes/java/anyutil/stream/PipelineHelper.java
! src/java.base/share/classes/java/anyutil/stream/ReduceOps.java
! src/java.base/share/classes/java/anyutil/stream/StreamSpliterators.java
! src/java.base/share/classes/java/anyutil/stream/TerminalOp.java
+ src/java.base/share/classes/java/lang/invoke/VirtualAccess.java
! src/java.base/share/classes/valhalla/specializer/SignatureSpecializer.java
! src/java.base/share/classes/valhalla/specializer/Specializer.java
! test/valhalla/PrespecializerTest.java
+ test/valhalla/test/valhalla/anyutil/SimplePipelineTest.java
+ test/valhalla/test/valhalla/specializer/GenericMethodRawAndWildcardTest.java
+ test/valhalla/test/valhalla/specializer/RawAccessTest.java
+ test/valhalla/test/valhalla/specializer/RawAndWildcardAccessTest.java
+ test/valhalla/test/valhalla/specializer/RawCastInstanceOfTest.java
! test/valhalla/test/valhalla/specializer/WhereTest.java



More information about the valhalla-dev mailing list