hg: jdk7/hotspot-comp/jdk: 3 new changesets

john.r.rose at oracle.com john.r.rose at oracle.com
Wed Sep 8 18:47:06 PDT 2010


Changeset: 48f0b94573c8
Author:    jrose
Date:      2010-09-08 18:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/jdk/rev/48f0b94573c8

6964498: JSR 292 invokedynamic sites need local bootstrap methods
Summary: Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs; add MethodHandleProvider.
Reviewed-by: twisti

+ src/share/classes/java/dyn/BootstrapMethod.java
! src/share/classes/java/dyn/CallSite.java
+ src/share/classes/java/dyn/ConstantCallSite.java
! src/share/classes/java/dyn/InvokeDynamic.java
! src/share/classes/java/dyn/InvokeDynamicBootstrapError.java
! src/share/classes/java/dyn/Linkage.java
! src/share/classes/java/dyn/LinkagePermission.java
! src/share/classes/java/dyn/MethodHandle.java
+ src/share/classes/java/dyn/MethodHandleProvider.java
! src/share/classes/java/dyn/package-info.java
! src/share/classes/sun/dyn/CallSiteImpl.java
! test/java/dyn/MethodHandlesTest.java

Changeset: d30ca8bcad63
Author:    jrose
Date:      2010-09-08 18:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/jdk/rev/d30ca8bcad63

6980096: JSR 292 reflective lookup should throw checked exceptions
Summary: Make NoAccessException be a checked exception.  Also remove JavaMethodHandle.
Reviewed-by: twisti

! src/share/classes/java/dyn/CallSite.java
- src/share/classes/java/dyn/JavaMethodHandle.java
! src/share/classes/java/dyn/MethodHandles.java
! src/share/classes/java/dyn/MethodType.java
! src/share/classes/java/dyn/NoAccessException.java
! src/share/classes/sun/dyn/BoundMethodHandle.java
! src/share/classes/sun/dyn/CallSiteImpl.java
! src/share/classes/sun/dyn/FilterGeneric.java
! src/share/classes/sun/dyn/FilterOneArgument.java
! src/share/classes/sun/dyn/FromGeneric.java
! src/share/classes/sun/dyn/Invokers.java
+ src/share/classes/sun/dyn/JavaMethodHandle.java
! src/share/classes/sun/dyn/MemberName.java
! src/share/classes/sun/dyn/MethodHandleImpl.java
! src/share/classes/sun/dyn/MethodHandleNatives.java
! src/share/classes/sun/dyn/SpreadGeneric.java
! src/share/classes/sun/dyn/ToGeneric.java
! src/share/classes/sun/dyn/util/ValueConversions.java
+ test/java/dyn/JavaDocExamples.java
! test/java/dyn/MethodHandlesTest.java

Changeset: 93f36769ecef
Author:    jrose
Date:      2010-09-08 18:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/jdk/rev/93f36769ecef

6953246: JSR 292 should support SAM conversion
Summary: Conversion function MethodHandles.asInstance; initial slow implementation based on Proxy.
Reviewed-by: twisti

! src/share/classes/java/dyn/MethodHandles.java
! test/java/dyn/MethodHandlesTest.java



More information about the hotspot-compiler-dev mailing list