hg: jdk8u/jdk8u-dev/jdk: 21 new changesets

vladimir.x.ivanov at oracle.com vladimir.x.ivanov at oracle.com
Wed Sep 10 14:47:16 UTC 2014


Changeset: e0b065439802
Author:    vlivanov
Date:      2014-09-10 18:29 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/e0b065439802

8030079: Lint warnings in java.lang.invoke
8031373: Lint warnings in java.util.stream
Reviewed-by: psandoz, forax

! src/share/classes/java/lang/invoke/BoundMethodHandle.java
! src/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/TypeConvertingMethodAdapter.java
! src/share/classes/java/util/stream/ForEachOps.java
! src/share/classes/java/util/stream/Nodes.java
! src/share/classes/java/util/stream/SortedOps.java
! src/share/classes/java/util/stream/SpinedBuffer.java
! src/share/classes/java/util/stream/StreamSpliterators.java
! src/share/classes/java/util/stream/Streams.java

Changeset: 0fefdcab3608
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/0fefdcab3608

8037210: Get rid of char-based descriptions 'J' of basic types
Reviewed-by: jrose, psandoz, twisti

! src/share/classes/java/lang/invoke/BoundMethodHandle.java
! src/share/classes/java/lang/invoke/DirectMethodHandle.java
! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandleNatives.java
! src/share/classes/java/lang/invoke/MethodHandleStatics.java
! src/share/classes/java/lang/invoke/MethodHandles.java
! src/share/classes/java/lang/invoke/SimpleMethodHandle.java
+ test/java/lang/invoke/LambdaFormTest.java

Changeset: 2b3bf1a8ed13
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/2b3bf1a8ed13

8037209: Improvements and cleanups to bytecode assembly for lambda forms
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/DirectMethodHandle.java
! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandleStatics.java
! src/share/classes/java/lang/invoke/MethodType.java
! src/share/classes/sun/invoke/util/VerifyType.java
! src/share/classes/sun/invoke/util/Wrapper.java

Changeset: a31f793f509b
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/a31f793f509b

8038261: JSR292: cache and reuse typed array accessors
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java

Changeset: bd8627f3bd21
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/bd8627f3bd21

8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev

! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/sun/invoke/util/ValueConversions.java
+ test/java/lang/invoke/VarargsArrayTest.java
! test/sun/invoke/util/ValueConversionsTest.java

Changeset: 828ec5a0bf5f
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/828ec5a0bf5f

8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/BoundMethodHandle.java
! src/share/classes/java/lang/invoke/CallSite.java
! src/share/classes/java/lang/invoke/DirectMethodHandle.java
! src/share/classes/java/lang/invoke/Invokers.java
! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/MemberName.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandleProxies.java
! src/share/classes/java/lang/invoke/MethodHandleStatics.java
! src/share/classes/java/lang/invoke/MethodHandles.java
! src/share/classes/java/lang/invoke/MethodType.java
! src/share/classes/java/lang/invoke/MethodTypeForm.java
! test/java/lang/invoke/MethodHandlesTest.java

Changeset: f66dc99dac52
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/f66dc99dac52

8050053: Improve caching of different invokers
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/CallSite.java
! src/share/classes/java/lang/invoke/Invokers.java
! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandles.java
! src/share/classes/java/lang/invoke/MethodType.java
! src/share/classes/java/lang/invoke/MethodTypeForm.java

Changeset: c7be76a1dda5
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/c7be76a1dda5

8050166: Get rid of some package-private methods on arguments in j.l.i.MethodHandle
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/BoundMethodHandle.java
! src/share/classes/java/lang/invoke/CallSite.java
! src/share/classes/java/lang/invoke/DirectMethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandles.java
! src/share/classes/java/lang/invoke/MethodType.java
! src/share/classes/java/lang/invoke/SimpleMethodHandle.java

Changeset: 9cfb4b22a01e
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/9cfb4b22a01e

8050173: Add j.l.i.MethodHandle.copyWith(MethodType, LambdaForm)
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/CallSite.java
! src/share/classes/java/lang/invoke/DirectMethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandles.java
! src/share/classes/java/lang/invoke/MethodType.java
! src/share/classes/java/lang/invoke/SimpleMethodHandle.java

Changeset: d33546256199
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/d33546256199

8050174: Support overriding of isInvokeSpecial flag in WrappedMember
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/Invokers.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java

Changeset: bae3f8ea54a1
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/bae3f8ea54a1

8050057: Improve caching of MethodHandle reinvokers
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/BoundMethodHandle.java
+ src/share/classes/java/lang/invoke/DelegatingMethodHandle.java
! src/share/classes/java/lang/invoke/DirectMethodHandle.java
! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodTypeForm.java
! src/share/classes/java/lang/invoke/SimpleMethodHandle.java

Changeset: 4e6337ca7989
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/4e6337ca7989

8050200: Make LambdaForm intrinsics detection more robust
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java

Changeset: d33c58176d0c
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/d33c58176d0c

8050877: Improve code for pairwise argument conversions and value boxing/unboxing
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandles.java
! src/share/classes/sun/invoke/util/ValueConversions.java
! test/sun/invoke/util/ValueConversionsTest.java

Changeset: db52173c10e4
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/db52173c10e4

8050884: Intrinsify ValueConversions.identity() functions
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandles.java
! src/share/classes/java/lang/invoke/MethodType.java
! src/share/classes/sun/invoke/util/ValueConversions.java
! test/sun/invoke/util/ValueConversionsTest.java

Changeset: 2419b8500b27
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/2419b8500b27

8050887: Intrinsify constants for default values
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandles.java

Changeset: 9d3feb922367
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/9d3feb922367

8057654: Extract checks performed during MethodHandle construction into separate methods
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandles.java

Changeset: 4b2bc06d521c
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/4b2bc06d521c

8057656: Improve MethodType.isCastableTo() & MethodType.isConvertibleTo() checks
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/MethodType.java

Changeset: c9cc83fba300
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/c9cc83fba300

8057657: Annotate LambdaForm parameters with types
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/BoundMethodHandle.java
! src/share/classes/java/lang/invoke/DelegatingMethodHandle.java
! src/share/classes/java/lang/invoke/Invokers.java
! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java

Changeset: 4a505ea8cc0a
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/4a505ea8cc0a

8056926: Improve caching of GuardWithTest combinator
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodTypeForm.java

Changeset: 914aea3f4893
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/914aea3f4893

8057042: LambdaFormEditor: derive new LFs from a base LF
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/BoundMethodHandle.java
! src/share/classes/java/lang/invoke/LambdaForm.java
+ src/share/classes/java/lang/invoke/LambdaFormBuffer.java
+ src/share/classes/java/lang/invoke/LambdaFormEditor.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java

Changeset: 24ac0f2fad86
Author:    vlivanov
Date:      2014-09-10 18:34 +0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/24ac0f2fad86

8057922: Improve LambdaForm sharing by using LambdaFormEditor more extensively
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose at oracle.com

! src/share/classes/java/lang/invoke/LambdaForm.java
! src/share/classes/java/lang/invoke/LambdaFormBuffer.java
! src/share/classes/java/lang/invoke/LambdaFormEditor.java
! src/share/classes/java/lang/invoke/MethodHandle.java
! src/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/share/classes/java/lang/invoke/MethodHandleStatics.java
! src/share/classes/java/lang/invoke/MethodHandles.java



More information about the jdk8u-dev-changes mailing list