hg: valhalla/valhalla/jdk: When specializing methods, if we encounter a Bridge attribute, follow bridge attribute to find bridgee to specialize; when specializing generic methods, if the method body is not in the receiver class, do a supertype hierarchy walk to find the corresponding class specialization parameters

brian.goetz at oracle.com brian.goetz at oracle.com
Wed May 27 22:31:57 UTC 2015


Changeset: a0b483fee3f1
Author:    briangoetz
Date:      2015-05-27 18:24 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/a0b483fee3f1

When specializing methods, if we encounter a Bridge attribute, follow bridge attribute to find bridgee to specialize; when specializing generic methods, if the method body is not in the receiver class, do a supertype hierarchy walk to find the corresponding class specialization parameters

! 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/PipelineHelper.java
! src/java.base/share/classes/java/anyutil/stream/StreamOpFlag.java
! src/java.base/share/classes/java/lang/invoke/GenericMethodSpecializer.java
+ src/java.base/share/classes/valhalla/specializer/BridgeAttribute.java
! src/java.base/share/classes/valhalla/specializer/SignatureSpecializer.java
! src/java.base/share/classes/valhalla/specializer/Specializer.java



More information about the valhalla-dev mailing list