Paul, Igor, thanks for review.
Best regards,
Vladimir Ivanov
On 7/11/14 4:24 PM, Paul Sandoz wrote:
On Jul 11, 2014, at 2:21 PM, Vladimir Ivanov vladimir.x.iva...@oracle.com
wrote:
Igor, thanks for the hint!
Yes, much better.
Updated version:
On Jul 11, 2014, at 6:18 PM, Vladimir Ivanov vladimir.x.iva...@oracle.com
wrote:
http://cr.openjdk.java.net/~vlivanov/8050052/webrev.00
https://bugs.openjdk.java.net/browse/JDK-8050052
Numerous small code cleanups in java.lang.invoke package.
Testing: jtreg, nashorn, octane w/ -ea -esa
On Jul 11, 2014, at 6:35 PM, Vladimir Ivanov vladimir.x.iva...@oracle.com
wrote:
http://cr.openjdk.java.net/~vlivanov/8050053/webrev.00
https://bugs.openjdk.java.net/browse/JDK-8050053
Improve sharing of different invokers: basic, generic exact invokers,
uninitialized call site invoker
Thank you, Paul.
Best regards,
Vladimir Ivanov
On 7/14/14 5:34 PM, Paul Sandoz wrote:
On Jul 11, 2014, at 6:35 PM, Vladimir Ivanov vladimir.x.iva...@oracle.com
wrote:
http://cr.openjdk.java.net/~vlivanov/8050053/webrev.00
https://bugs.openjdk.java.net/browse/JDK-8050053
Improve sharing of
http://cr.openjdk.java.net/~vlivanov/8050166/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8050166
Get rid of the following methods in j.l.i.MethodHandle:
* convertArguments(MethodType newType)
* bindArgument(int pos, BasicType basicType, Object value)
* bindReceiver(Object receiver)
http://cr.openjdk.java.net/~vlivanov/8050173/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8050173
Added j.l.i.MethodHandle.copyWith(MethodType, LambdaForm) and provided
implementation for all subclasses.
Also, some cleanups:
* rewrote MH.viewAsType on top of MH.copyWith;
* extended
http://cr.openjdk.java.net/~vlivanov/8050174/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8050174
Support overriding of isInvokeSpecial flag in WrappedMember.
Testing: jdk/java/lang/invoke, jdk/java/util/streams, nashorn, octane w/
-ea -esa and COMPILE_THRESHOLD={0,30}.
Reviewed-by:
http://cr.openjdk.java.net/~vlivanov/8050057/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8050057
Cache MethodHandle reinvokers per basic type.
For BoundMethodHandles, rebinding is no-op unless underlying LF is too
complex (see BMH::tooComplex() for details).
Also, introduced
http://cr.openjdk.java.net/~vlivanov/8050200/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8050200
Replace pattern matching sequences of LambdaForm names during
compilation with explicit marks on MethodHandles. Intrinsic ID is
associated with a method handle using DelegatingMethodHandle.