143 Commits

Author SHA1 Message Date
Alejandro Murillo
a1cfe0ce2d Merge 2016-04-14 19:55:41 -07:00
Daniel D. Daugherty
451af9b1b2 Merge 2016-04-14 15:25:41 -07:00
Shilpi Rastogi
284ec15fed 8150829: Enhanced drop-args, identity and default constant, varargs adjustment
Reviewed-by: psandoz, mhaupt, jrose
2016-04-13 15:48:14 +02:00
Paul Sandoz
87c6cee72e 8146458: Improve exception reporting for Objects.checkIndex/checkFromToIndex/checkFromIndexSize
Reviewed-by: jrose, smarks
2016-04-13 15:05:50 +02:00
Paul Sandoz
e10605459a 8151198: VarHandle factory-specific exceptions
Reviewed-by: shade
2016-04-13 15:05:49 +02:00
Paul Sandoz
a7aff44bbb 8151705: VarHandle.AccessMode enum names should conform to code style
Reviewed-by: mhaupt, shade, redestad
2016-04-13 15:05:48 +02:00
Michael Haupt
c304110149 8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0
Reviewed-by: psandoz, redestad
2016-04-13 09:20:22 +02:00
Alejandro Murillo
fd0239a0bc Merge 2016-04-13 00:00:39 -07:00
Claes Redestad
08d525d5fc 8154067: Avoid early use of limited privilege escalation in InnerClassLambdaMetafactory
Reviewed-by: alanb, mchung, mullan, briangoetz
2016-04-12 21:41:28 +02:00
Alejandro Murillo
b84738d2e3 Merge 2016-04-11 14:21:27 -07:00
Jesper Wilhelmsson
e0a7cbf80a Merge 2016-04-11 20:16:34 +02:00
Paul Sandoz
878d4d8655 8151706: Update VarHandle implementation to use @Stable arrays
Reviewed-by: mhaupt, shade, redestad
2016-04-11 18:21:25 +02:00
Brent Christian
74f12569ec 8153123: Streamline StackWalker code
Reviewed-by: coleenp, dfuchs, mchung, redestad
2016-04-08 12:26:47 -07:00
Bharadwaj Yadavalli
3d214817a2 Merge 2016-04-08 12:36:27 -04:00
Daniel D. Daugherty
3115b36c77 Merge 2016-04-07 10:03:48 -07:00
Bharadwaj Yadavalli
eb1715ed7c Merge 2016-04-05 15:39:38 -04:00
Alejandro Murillo
1d713a3760 Merge 2016-04-04 13:40:23 -07:00
Jamsheed Mohammed C M
8496a7c536 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-04 02:07:28 -07:00
Jesper Wilhelmsson
2ad8a47677 Merge 2016-04-02 05:30:48 +02:00
Claes Redestad
7f353eb42e 8152641: Plugin to generate BMH$Species classes ahead-of-time
Reviewed-by: plevart, mchung, forax, vlivanov, jrose
2016-04-01 20:28:03 +02:00
Alejandro Murillo
e380336101 Merge 2016-03-31 14:25:38 -07:00
Claes Redestad
3312808cdb 8152951: Avoid calculating the reverse of StringConcatFactory$Recipe elements
Reviewed-by: shade, vlivanov
2016-03-29 18:27:33 +02:00
Zoltan Majo
31936440a5 Merge 2016-03-29 13:43:29 +02:00
Zoltan Majo
c8858ca3b6 Merge 2016-03-24 16:21:19 +01:00
Paul Sandoz
9fb30a3740 8149644: Integrate VarHandles
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: coffeys, mhaupt, vlivanov
2016-03-24 11:21:21 +01:00
Aleksey Shipilev
ccdf984e57 8150463: StringConcat MH_INLINE_SIZED_EXACT should skip storage initialization
Reviewed-by: plevart, chegar
2016-03-24 12:52:03 +03:00
Jesper Wilhelmsson
d9415fe792 Merge 2016-03-23 20:14:36 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Jesper Wilhelmsson
74c006ac7f Merge 2016-03-19 01:23:44 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Claes Redestad
d6328fbb3e 8152074: Avoid lambda usage in StringConcatFactory initializer
Reviewed-by: shade, forax, chegar
2016-03-17 10:26:59 +01:00
Abhijit Roy
2fc3f9915c 8151063: Typo in java.lang.invoke.StringConcatFactory javadoc
Reviewed-by: prappo, rriggs
2016-03-11 12:53:10 -05:00
Peter Levart
020a27b202 8149925: We don't need jdk.internal.ref.Cleaner any more - part1
1st part of removing legacy jdk.internal.ref.Cleaner

Reviewed-by: chegar, mchung
2016-03-09 21:17:06 +01:00
Michael Haupt
1619ac11c9 8150635: j.l.i.MethodHandles.loop(...) throws IndexOutOfBoundsException
Reviewed-by: psandoz
2016-03-02 20:16:11 +01:00
Michael Haupt
fc2641e57f 8150953: j.l.i.MethodHandles: example section in whileLoop(...) provides example for doWhileLoop
Reviewed-by: psandoz
2016-03-02 14:15:15 +01:00
Michael Haupt
bfb7e8cd07 8150782: findClass / accessClass throw unexpected exceptions
Reviewed-by: sundar
2016-03-13 20:26:29 +01:00
Michael Haupt
2d20eec823 8150825: MethodHandles.tryFinally throws IndexOutOfBoundsException for non-conforming parameter lists
Reviewed-by: redestad
2016-02-29 14:16:20 +01:00
Alejandro Murillo
36d5ceb3eb Merge 2016-02-23 18:57:08 -08:00
Michael Haupt
19a07cb7db 8143410: augment pseudo-code descriptions in MethodHandles API
Reviewed-by: psandoz
2016-02-23 09:49:04 +01:00
Michael Haupt
5baf4fccc4 8150360: augment/correct MethodHandle API documentation
Reviewed-by: psandoz
2016-02-23 07:17:54 +01:00
Shilpi Rastogi
165fa0078f 8144931: Assert class signatures are correct and refer to valid classes
Reviewed-by: vlivanov, psandoz, mhaupt
2016-02-22 09:02:14 +01:00
Alejandro Murillo
d147a661d8 Merge 2016-02-18 15:19:41 -08:00
Aleksey Shipilev
6fe8f6f2f5 8149835: StringConcatFactory should emit classes with the same package as the host class
Reviewed-by: psandoz, alanb, mchung
2016-02-17 19:29:16 +03:00
Vladimir Ivanov
4458220d4a 8148994: Replacing MH::invokeBasic with a direct call breaks LF customization
Reviewed-by: jrose, redestad
2016-02-15 20:27:12 +03:00
Aleksey Shipilev
7bee07b465 8149459: StringConcatFactory should be synced up with LambdaMetafactory
Reviewed-by: psandoz, vlivanov, forax
2016-02-10 16:36:25 +03:00
Shilpi Rastogi
ff97659a79 8071368: Use more concrete types for NamedFunction constants in the code
Reviewed-by: psandoz, vlivanov, mhaupt
2016-02-10 11:04:13 +01:00
Shilpi Rastogi
3e45966cd3 8138884: MethodHandles.Lookup.findVirtual() Javadoc fails to consider private interface methods
Reviewed-by: psandoz, mhaupt
2016-02-10 10:44:58 +01:00
Shilpi Rastogi
e49c2412cb 8138578: MethodHandles.Lookup.findSpecial() Javadoc fails to consider static methods
Reviewed-by: psandoz, vlivanov, mhaupt
2016-02-08 17:37:46 +01:00
Aleksey Shipilev
68d21c3b1e 8148869: StringConcatFactory MH_INLINE_SIZED_EXACT strategy does not work with -XX:-CompactStrings
Reviewed-by: vlivanov, psandoz
2016-02-03 00:49:41 +03:00
Chris Hegarty
64b292668e Merge 2016-02-02 17:20:53 +00:00