519 Commits

Author SHA1 Message Date
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
Philipp Kunz
5db337db24 6372077: JarFile.getManifest() should handle manifest attribute name 70 bytes
Reviewed-by: alanb, sherman
2018-03-01 15:50:26 -05:00
Xueming Shen
3a03cd060f 8187653: Lock in CoderResult.Cache becomes performance bottleneck
Reviewed-by: rriggs, alanb
2018-03-01 12:31:24 -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
Claes Redestad
16a61139e2 8198831: Lazy initialization of ValueConversions MethodHandles
Reviewed-by: shade
2018-02-28 15:28:46 +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
0b78370b74 8193819: Error message when module does not have a ModuleMainClass attribute is confusing
Reviewed-by: sundar
2018-02-15 14:44:14 +00: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
Xueming Shen
739c973204 8197988: T2 test javax/net/ssl/interop/ClientHelloChromeInterOp.java failed after JDK-8164278
Reviewed-by: alanb
2018-02-15 00:25:01 -08:00
Martin Buchholz
48b9835669 8197893: Mistaken type check in CheckedEntrySet.toArray
Reviewed-by: psandoz
2018-02-14 16:37:20 -08:00
Xueming Shen
f6ca24c05f 8164278: java.util.Base64.EncOutputStream/DecInputStream is slower than corresponding version in javax.mail package
Reviewed-by: rriggs
2018-02-14 14:13:42 -08:00
Claes Redestad
abb7e3a52a 8197849: Misc improvements to jar resource handling
Reviewed-by: rriggs, dfuchs
2018-02-14 19:03:12 +01:00
Brian Burkhalter
f74677e37e 8144672: (ch) PipeImpl should use localhost instead of loopback address
Reviewed-by: alanb, clanger
2018-02-14 08:15:07 -08: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
50f6694f00 8197829: Optimize CLDRCalendarDataProviderImpl::retrieveInteger
Reviewed-by: naoto
2018-02-14 14:45:38 +01:00
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Martin Buchholz
0e83ce1738 8198485: Simplify a URLClassPath constructor
Reviewed-by: alanb, mchung
2018-02-08 17:25:57 -08:00
Martin Buchholz
80e322bbcc 8198484: URLClassPath should use an ArrayDeque instead of a Stack
Reviewed-by: alanb, mchung, plevart, psandoz
2018-02-08 17:25:57 -08:00
Martin Buchholz
541978b4a2 8198482: The URLClassPath field "urls" should be renamed to "unopenedUrls"
Reviewed-by: alanb, mchung
2018-02-08 17:25:57 -08:00
Martin Buchholz
8f24dc87b1 8198481: Coding style cleanups for src/java.base/share/classes/jdk/internal/loader
Reviewed-by: alanb, mchung, rriggs
2018-02-08 17:25:57 -08:00
Martin Buchholz
749ad1ee03 8198480: Improve ClassLoaders static init block
Reviewed-by: alanb, mchung
2018-02-08 17:25:56 -08: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
Nishit Jain
3f5b571b5a 8060094: java/util/Formatter/Basic.java failed in tr locale
Reviewed-by: naoto
2018-02-26 11:16:24 +05:30
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
Roger Riggs
2af1df8c10 8198645: Use System.lineSeparator() instead of getProperty("line.separator")
Reviewed-by: lancea, xuelei, sherman
2018-02-23 16:00:44 -05: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
Roger Riggs
cfe9ad4608 8189330: Cleanup FileDescriptor implementation
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Christoph Langer
16f2a0e7a0 8198539: Cleanup of unused imports in java/util/jar/Attributes.java (java.base) and JdpController.java (jdk.management.agent)
Reviewed-by: stuefe
2018-02-23 09:55:52 +01:00
Claes Redestad
ac45567657 8198523: Refactor BootstrapMethodInvoker to further avoid runtime type checks
Reviewed-by: psandoz
2018-02-22 11:16:43 +01:00
Nishit Jain
cff8ccbcf7 8190904: Incorrect currency instance returned by java.util.Currency.getInstance()
Reviewed-by: naoto
2018-02-22 11:52:01 +05:30
Naoto Sato
eab5dab516 8198385: Remove property sun.locale.formatasdefault
Reviewed-by: bpb
2018-02-21 15:09:40 -08:00
Yumin Qi
4ea684bf31 8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.

Reviewed-by: alanb, bpb, rriggs
2018-02-21 14:23:45 -08: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
Ivan Gerasimov
b5c20a6e1c 8058965: Remove IPv6 support from TwoStacksPlainSocketImpl [win]
Reviewed-by: chegar
2018-02-18 17:06:20 -08:00
Naoto Sato
d8dc99ec5c 8198228: Spec clarification: j.u.Locale.getDisplayName()
Reviewed-by: rriggs
2018-02-16 14:03:34 -08:00
Ivan Gerasimov
7d7c653abf 8197462: Inconsistent exception messages for invalid capturing group names
8179608: Error in comment in Pattern.java

Reviewed-by: sherman
2018-02-12 21:06:06 -08:00
Paul Sandoz
c9757ad448 8196960: Exceptions in ConstantBootstrapsTest.java on SPARC
Reviewed-by: lfoltan
2018-02-07 12:37:30 -08:00
Brian Burkhalter
7c3b34ae81 8197498: (se) kevent polling should ignore signal interrupt (EINTR)
8179307: Java_sun_nio_ch_KQueue_keventPoll throws an exception with "kqueue failed" instead of "kevent poll failed"

Reviewed-by: alanb
2018-02-12 08:19:33 -08:00
Brian Burkhalter
a7b3a19ec4 8191416: (bf) DirectByteBuffer extends MappedByteBuffer, confuses instanceof tests
Change force(), load(), and isLoaded() not to throw UOE if there is no file mapping

Reviewed-by: alanb, rriggs, forax
2018-02-12 08:19:23 -08:00