43 Commits

Author SHA1 Message Date
Claes Redestad
243b2364f6 8200238: Reduce number of exceptions created when calling MemberName$Factory::resolveOrNull
Reviewed-by: lfoltan, acorn, dholmes
2018-03-29 10:38:29 +02:00
Brian Burkhalter
9e3d8fd230 8194746: (fs) Add equivalents of Paths.get to Path interface
Copy Paths.get() methods to Path.get() methods and have former call latter

Reviewed-by: alanb, forax, chegar, psandoz
2018-03-22 12:30:47 -07:00
Paul Sandoz
0628437ecc 8198889: Clarify the throwing of exceptions from ConstantBootstraps.invoke
Reviewed-by: mchung
2018-03-14 12:39:57 -07:00
Claes Redestad
b66ffad152 8199471: Enable generation of callSiteForms at link time
Reviewed-by: psandoz, mchung
2018-03-14 17:14:02 +01:00
Claes Redestad
d88408c75b 8199453: Enable link-time generation of constructor forms
Reviewed-by: alanb, psandoz, mchung
2018-03-12 18:31:02 +01:00
Claes Redestad
ec495ebede 8198888: Reduce string allocation churn in InvokerBytecodeGenerator
Reviewed-by: psandoz, plevart
2018-03-01 13:08:06 +01:00
Claes Redestad
3c9dfe26ed 8198755: Reduce cost of InvokerBytecodeGenerator::isStaticallyInvocable/-Nameable
Reviewed-by: vlivanov, psandoz, jrose
2018-02-27 21:05:07 +01:00
Paul Sandoz
4ce3f37ba2 8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException
Reviewed-by: mchung
2018-02-26 16:05:25 -08:00
Claes Redestad
703621f15f 8198492: Bootstrapping java.lang.invoke can cause deadlock after JDK-8198418
8198490: java/util/logging/TestLogConfigurationDeadLock.java timed out

Reviewed-by: alanb
2018-02-26 12:43:53 +01:00
Alan Bateman
8f56ea639d 8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible
Reviewed-by: mchung, psandoz
2018-02-24 08:26:53 +00:00
Claes Redestad
ac45567657 8198523: Refactor BootstrapMethodInvoker to further avoid runtime type checks
Reviewed-by: psandoz
2018-02-22 11:16:43 +01:00
Claes Redestad
d4c69026bf 8198418: Invoke LambdaMetafactory::metafactory exactly from the BootstrapMethodInvoker
Reviewed-by: briangoetz, forax, vlivanov
2018-02-20 17:49:15 +01:00
Claes Redestad
fa933f3971 8195850: Improve startup of code to pull arguments from BootstrapMethodInvoker
Reviewed-by: psandoz, jrose
2018-02-14 15:27:29 +01:00
Paul Sandoz
c9757ad448 8196960: Exceptions in ConstantBootstrapsTest.java on SPARC
Reviewed-by: lfoltan
2018-02-07 12:37:30 -08:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Paul Sandoz
00b3f917ac 8195694: ConstantBootstraps.invoke does not preserve variable arity
Reviewed-by: jrose
2018-02-01 14:19:04 -08:00
Paul Sandoz
4b5ffe70d9 8187742: Minimal set of bootstrap methods for constant dynamic
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, forax
2018-01-31 11:20:36 -08:00
Paul Sandoz
30df14bd0a 8195970: Crash passing null to a VarHandle
Reviewed-by: mchung, alanb
2018-01-26 09:35:15 -08:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Mandy Chung
869f9e2ed0 8194554: filterArguments runs multiple filters in the wrong order
Reviewed-by: psandoz, jrose
2018-01-17 15:17:50 -08:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Martin Buchholz
7838184968 8145371: ClassCastException thrown in LambdaFormEditor.getInCache
Read field into local to avoid customization race

Reviewed-by: vlivanov, jrose, psandoz
2018-01-03 13:17:35 -08:00
Vladimir Ivanov
1b558514ff 8188145: MethodHandle resolution should follow JVMS sequence of lookup by name & type before type descriptor resolution
Reviewed-by: kvn, psandoz
2018-01-12 01:52:06 +03:00
Abhijit Saha
f96c816c07 Merge 2018-01-12 15:05:35 -08:00
Alan Bateman
7b054f30b8 8193758: Update copyright headers of files in src tree that are missing Classpath exception
Reviewed-by: mchung, mr, jjg, iris, prr
2017-12-19 10:03:36 +00:00
Paul Sandoz
3246c46f41 8187254: MethodType allows unvalidated parameter types
Reviewed-by: mchung, jrose
2017-12-12 09:33:37 -08:00
Paul Sandoz
012e103e91 8187237: Need to define the behaviour for 0 and 1 argument method type in StringConcatFactory.makeConcat
8186737: Lookup argument for StringConcatFactory.makeConcat & makeConcatWithConstants cannot have privileges less than PRIVATE

Reviewed-by: mchung
2017-11-29 12:39:59 -08:00
Paul Sandoz
eb856a6953 8180437: Remaining renames of CAS misnomer "swap" => "set"
Reviewed-by: martin
2017-11-17 12:09:56 -08:00
Claes Redestad
d61c1efed9 8191442: Regression in LambdaFormBuffer.replaceFunctions
Reviewed-by: vlivanov
2017-11-17 15:43:12 +01:00
Mandy Chung
52693f1ca5 8157246: MHs.arrayLength, arrayElementGetter/Setter, arrayConstructor need to specify invocation-time behavior
Reviewed-by: psandoz, rriggs
2017-11-17 08:12:02 -06:00
Jesper Wilhelmsson
88d610826b Merge 2017-11-16 01:11:32 +01:00
Claes Redestad
433bf8ab65 8184777: Factor out species generation logic from BoundMethodHandle
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: vlivanov
2017-11-16 00:58:50 +01:00
Christoph Dreis
7f79fffba6 8190382: fix small typographic errors in comments
Reviewed-by: martin
2017-10-30 17:49:33 -07:00
Christoph Dreis
674b927865 8190323: "the the" typos
Reviewed-by: rriggs
2017-10-29 18:20:53 -04:00
Mandy Chung
34c9d598c7 8187089: StringConcatFactory.makeConcat & makeConcatWithConstants should throw StringConcatException if parameter slot count is over 200
Reviewed-by: rriggs, shade
2017-10-26 16:57:35 -07:00
Brent Christian
ac52bdcdd1 8185925: StackFrameInfo::walker field can be replaced with bitmap to save footprint
8153682: StackFrameInfo.declaringClass could be removed

Reviewed-by: coleenp, mchung
2017-11-09 11:13:50 -08:00
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Mandy Chung
5d986605ca 8186050: StackFrame should provide the method signature
Reviewed-by: alanb, bchristi, forax, plevart
2017-09-29 11:33:08 -07:00
Claes Redestad
0355224df8 8187826: Avoid using reflection to bootstrap NamedFunctions
Reviewed-by: psandoz
2017-09-27 17:56:00 +02:00
John R Rose
f98aab0db9 8185993: MethodHandle.invokeWithArguments jumbo-arity
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Vladimir Ivanov
fa8b858052 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00