36 Commits

Author SHA1 Message Date
Claes Redestad
4e062cde34 8144723: MethodHandleImpl.initStatics is no longer needed
Reviewed-by: vlivanov, mhaupt, forax
2015-12-19 02:24:27 +01:00
Michael Haupt
5b2c88e28a 8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov
2015-11-20 15:34:12 +01:00
Claes Redestad
42e4e0c06f 8143142: AssertionError in MethodHandleImpl
Reviewed-by: psandoz, vlivanov
2015-11-17 15:29:21 +01:00
Claes Redestad
30545d614d 8142334: Improve lazy initialization of java.lang.invoke
Reviewed-by: psandoz, vlivanov, mhaupt
2015-11-17 11:51:45 +01:00
Michael Haupt
d9cbd23d50 8062543: Replace uses of MethodHandleImpl.castReference with Class.cast
Reviewed-by: psandoz, vlivanov
2015-07-17 08:10:41 +02:00
Zoltan Majo
94d36649af 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:45 +02:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Joe Darcy
d112215fc2 8078467: Update core libraries to use diamond with anonymous classes
Reviewed-by: mchung, alanb
2015-04-23 09:32:35 -07:00
Vladimir Ivanov
71020f90ef 8075263: MHI::checkCustomized isn't eliminated for inlined MethodHandles
Reviewed-by: jrose, kvn
2015-03-20 11:42:31 -07:00
Vladimir Ivanov
55d14bca62 8071788: BlockInliningWrapper.asType() is broken
Reviewed-by: jrose
2015-01-29 10:29:49 -08:00
Vladimir Ivanov
676ea83240 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
Reviewed-by: jrose
2015-01-29 10:29:43 -08:00
Vladimir Ivanov
bfc5193fe7 8069591: Customize LambdaForms which are invoked using MH.invoke/invokeExact
Reviewed-by: jrose, plevart, forax
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
06305c456b 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Claes Redestad
1584416bbc 8062180: MethodHandleImpl.makeArrays throws and swallows java.lang.NoSuchFieldError in normal flow
Reviewed-by: vlivanov, shade
2014-11-06 15:25:56 +01:00
Vladimir Ivanov
224c42ee4d 8059877: GWT branch frequencies pollution due to LF sharing
Reviewed-by: psandoz, jrose
2014-10-29 09:31:37 -07:00
Vladimir Ivanov
af1868b9ea 8058892: FILL_ARRAYS and ARRAYS are eagely initialized in MethodHandleImpl
Reviewed-by: kvn, shade
2014-10-03 11:45:36 -07:00
Vladimir Ivanov
e490ad1e61 8058291: Missing some checks during parameter validation
Reviewed-by: jrose
2014-09-16 18:05:01 +04:00
John Rose
dbbce7862e 8057922: Improve LambdaForm sharing by using LambdaFormEditor more extensively
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
30f687e214 8057042: LambdaFormEditor: derive new LFs from a base LF
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
f74266a5a4 8056926: Improve caching of GuardWithTest combinator
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
afe2dd89e4 8057657: Annotate LambdaForm parameters with types
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:51 +04:00
John Rose
70c6eaee97 8050887: Intrinsify constants for default values
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
9c80853676 8050884: Intrinsify ValueConversions.identity() functions
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
f365de576b 8050877: Improve code for pairwise argument conversions and value boxing/unboxing
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
d565c3701f 8050200: Make LambdaForm intrinsics detection more robust
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
8940954741 8050057: Improve caching of MethodHandle reinvokers
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
fb7b2acc12 8050174: Support overriding of isInvokeSpecial flag in WrappedMember
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
71bae4addc 8050173: Add j.l.i.MethodHandle.copyWith(MethodType, LambdaForm)
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
2f4b5e8534 8050166: Get rid of some package-private methods on arguments in j.l.i.MethodHandle
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:48 +04:00
John Rose
da56d3f6d1 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
0898161932 8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev
2014-09-10 19:19:47 +04:00
John Rose
693c89e3b9 8038261: JSR292: cache and reuse typed array accessors
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
John Rose
0b424b49d8 8037209: Improvements and cleanups to bytecode assembly for lambda forms
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:46 +04:00
Chris Hegarty
7d146ee898 Merge 2014-08-18 10:59:36 +01:00
Chris Hegarty
3bc69d393d 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00