104 Commits

Author SHA1 Message Date
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
Claes Redestad
c71bc3581a 8199862: Examine ProxyBuilder::referencedTypes startup cost
Reviewed-by: mchung
2018-03-21 10:13:49 +01:00
Claes Redestad
74827c6a87 8199865: Avoid initializing ShortCache in ProxyGenerator
Reviewed-by: mchung
2018-03-21 10:13:14 +01:00
Brian Burkhalter
f5578ab220 8189230: JDK method:java.lang.Integer.numberOfLeadingZeros(int) can be optimized
Directly return zero for a negative parameter instead of calculating

Reviewed-by: psandoz
2018-03-15 08:11:01 -07:00
David Lloyd
acb3103b8f 8188240: Reflection Proxy should skip static methods
Reviewed-by: mchung, sundar, shade, plevart
2018-03-15 12:07:59 +01: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
Naoto Sato
6744ceac88 8198989: Provide more diagnostic IAE messages
Reviewed-by: lancea
2018-03-12 20:47:21 -07:00
Ben Walsh
de3604ea0c 8199462: Use Reference.reachabilityFence in direct ByteBuffer methods
Reviewed-by: psandoz, vlivanov, plevart
2018-03-12 16:09:18 -07: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
Roger Riggs
f0cd136c74 8199420: Update javadoc tags in java.lang.System and related
Reviewed-by: lancea, bpb
2018-03-12 10:04:12 -04:00
Jesper Wilhelmsson
6a37cbc50c Merge 2018-03-02 21:00:12 +01:00
Naoto Sato
3d4edcc571 4993841: (str) java.lang.Character should have a toString(int) method
Reviewed-by: martin, rriggs, sherman, smarks
2018-03-05 08:50:47 -08:00
Jim Laskey
522a9d15fd 8198955: String#repeat loop optimization
Reviewed-by: rriggs, redestad, igerasim
2018-03-02 18:10:57 -04:00
Claes Redestad
ec495ebede 8198888: Reduce string allocation churn in InvokerBytecodeGenerator
Reviewed-by: psandoz, plevart
2018-03-01 13:08:06 +01:00
Joe Wang
5a7aff9897 8137326: Methods for comparing CharSequence, StringBuilder, and StringBuffer
Reviewed-by: rriggs, smarks, sherman, tvaleev
2018-03-01 15:31:04 -08:00
Jim Laskey
b4d4d8f66c 8197594: String#repeat
Reviewed-by: smarks, psandoz, plevart, rriggs, redestad
2018-03-01 15:45:51 -04:00
Alan Bateman
95b1eef0da 8198841: Thread.interrupt should set interrupt status while holding blockerLock
Reviewed-by: bpb
2018-03-01 18:27:39 +00:00
Jesper Wilhelmsson
3dfe4d61b3 Merge 2018-03-01 01:47:46 +01:00
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01:00
Alan Bateman
13dd8888d2 8198562: (ch) Separate blocking and non-blocking code paths (part 1)
8198754: (ch) Separate blocking and non-blocking code paths (part 2)

Reviewed-by: bpb
2018-02-28 09:54:38 +00:00
Robin Westberg
f2c21c058d 8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs
2018-02-13 15:48:23 +01:00
Harold Seigel
7d1735efbb 8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Martin Buchholz
a95d50a5fc 8197812: (ref) Data race in Finalizer
Reviewed-by: plevart, mchung
2018-02-15 19:35:17 -08:00
Alan Bateman
fc3364785a 8193818: Remove unused single_step field from java.lang.Thread
Reviewed-by: lancea, dholmes
2018-02-15 13:37:20 +00: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
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
Mandy Chung
3e28c2f71d 8198653: ClassLoader::getSystemClassLoader throws InternalError when called after shutdown
Reviewed-by: dholmes
2018-02-24 09:41:42 -08: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
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Claes Redestad
ac45567657 8198523: Refactor BootstrapMethodInvoker to further avoid runtime type checks
Reviewed-by: psandoz
2018-02-22 11:16:43 +01:00
Mandy Chung
f42b8e4a00 8198441: Replace native Runtime::runFinalization0 method with shared secrets
Reviewed-by: martin
2018-02-20 11:28:32 -08: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
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
Mandy Chung
6de0123fd7 8191170: Clarify if java.class.path can be undefined
Reviewed-by: alanb, psandoz
2018-01-25 13:40:36 -08:00
Mandy Chung
f7a44a7d8a 8196127: Dead code in VersionProps.java.template
Reviewed-by: lancea, psandoz
2018-01-25 13:39:28 -08:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Brent Christian
f61a078bd2 8194879: Runtime.Version parses string which does not conform to spec without throwing IAE
Reviewed-by: alanb, iris, rriggs
2018-01-17 16:15:15 -08: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
Christoph Dreis
c83a45ddf9 8194644: Typo in ModuleDescriptor.read javadoc
Reviewed-by: alanb
2018-01-04 15:50:51 +00:00
Lana Steuck
c8c8cd7238 Merge 2018-01-04 04:22:28 +00:00