1078 Commits

Author SHA1 Message Date
Claes Redestad
ff90534bb5 8141678: sun.invoke.util.Wrapper eagerly initializes all integral type caches
Reviewed-by: vlivanov, psandoz, shade, plevart
2015-11-09 17:15:07 +01:00
Claes Redestad
8e73a2915d 8141677: Improve java.lang.invoke.MemberName hashCode implementation
Reviewed-by: vlivanov, psandoz, shade
2015-11-09 17:14:05 +01:00
Roger Riggs
fe2786af5f 8138566: (Process) java.lang.Process.allChildren specification clarification
8140213: Process/ProcessHandle.onExit() spec need to be improved
8140250: (process) Process.info description is inaccurate

Rename to descendants() and clarify

Reviewed-by: psandoz
2015-11-09 11:02:07 -05:00
Peter Levart
10eb29b33e 8131129: Attempt to define a duplicate BMH$Species class
Reviewed-by: mhaupt, redestad, vlivanov
2015-11-09 13:44:58 +01:00
Artem Smotrakov
523fdf9bfb 8140649: imageFile should use delete[] with new[]
Reviewed-by: jlaskey
2015-11-09 13:58:10 +03:00
Tagir Valeev
58087e2179 8141630: Specification of Collections.synchronized* need to state traversal constraints
Reviewed-by: psandoz
2015-11-09 09:23:49 +01:00
Alejandro Murillo
7bbbc98da3 Merge 2015-11-06 11:11:53 -08:00
Nils Eliasson
aa89658abd Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
3233a95edc Merge 2015-11-05 20:00:53 +01:00
Claes Redestad
05e8afd0ef 8141536: MethodType field offset calculation could be lazy
Reviewed-by: vlivanov
2015-11-05 16:36:55 +01:00
Claes Redestad
6f0997408a 8141539: Avoid calculating string constants in InnerClassLambdaMetaFactory
Reviewed-by: vlivanov
2015-11-05 16:29:16 +01:00
Alejandro Murillo
20cb4ca730 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 16:02:53 -08:00
Joe Darcy
afaeebc08d 8141359: @Deprecated on packages should be clarified
Reviewed-by: rriggs
2015-11-04 09:01:15 -08:00
Paul Sandoz
b6f45b1889 8033148: Lexicographic comparators for arrays
Reviewed-by: jrose, chegar, bchristi, mduigou
2015-11-04 16:44:38 +01:00
Tobias Hartmann
4ed5b73f3d 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:42:11 +01:00
Iris Clark
321ddf167f Merge 2015-11-01 09:49:05 -08:00
Roger Riggs
cdd7249f6e 8139390: Very long classname in jimage causes SIGSEGV
Correct issues with ImageNativeSubstrate and JImageReadTest

Reviewed-by: mchung
2015-10-30 11:12:20 -04:00
Jesper Wilhelmsson
a18ce1f7d5 Merge 2015-10-30 00:02:35 +01:00
Peter Levart
78ed4c4c8c 8066644: Fix deprecation warnings in jdk.zipfs module
Co-authored-by: Claes Redestad <claes.redestad@gmail.com>
Reviewed-by: sherman, shade
2015-10-28 23:31:01 +01:00
Brent Christian
084b341c80 8138824: java.lang.String: spec doesn't match impl when ignoring case - equalsIgnoreCase(), regionMatches()
Reviewed-by: naoto, rriggs
2015-10-27 09:20:24 -07:00
Chris Hegarty
961f5bb19f 8139891: Prepare Unsafe for true encapsulation
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:19:55 +00:00
Vyom Tewari
392da5db2d 8068887: java.lang.Throwable could use Collections.emptyList for suppressedException
Java.lang.Throwable could use Collections.emptyList for suppressedException

Reviewed-by: mchung, alanb, shade, redestad
2015-10-27 10:14:36 +05:30
Michael Haupt
43fd9baef4 8136967: revert all changes applied to obtain information about 8131129
Reviewed-by: sundar
2015-10-27 09:09:37 +01:00
Claes Redestad
10cd607753 6823565: Excessive use of HandleList class in de-serialization code causes OutOfMemory
Reviewed-by: chegar, shade
2015-10-28 12:35:54 +01:00
Iris Clark
b7cb99d927 Merge 2015-10-25 19:16:39 -07:00
Bob Vandette
24029cc8dd Merge 2015-10-21 16:39:02 -04:00
Bob Vandette
3ab71df2e0 Merge 2015-10-19 15:48:09 -04:00
Alejandro Murillo
f629fa832c Merge 2015-10-19 12:30:18 -07:00
Paul Sandoz
5e8d2b8ebd 8080418: Add Optional.or()
Reviewed-by: chegar, forax, scolebourne
2015-10-19 11:28:50 -07:00
Bob Vandette
3dc2d02585 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:41:09 -04:00
Time Du
64f132cecd 8077806: mismatch comment and code in CipherSuite.java
Reviewed-by: xuelei
2015-10-19 08:19:58 +00:00
Claes Redestad
e3d1fffbe4 8139706: JarFile.getBytes could use InputStream.readNBytes
Reviewed-by: sherman, chegar, alanb
2015-10-18 01:43:06 +02:00
Sean Coffey
780e19cb1e 8038502: Deflater.needsInput() should use synchronization
Reviewed-by: chegar
2015-10-15 14:41:37 +01:00
Ivan Gerasimov
08216fc198 8138938: Clarify javadoc for java.util.Collections.copy()
Reviewed-by: smarks
2015-10-15 13:56:39 +03:00
Sean Coffey
7af86aa369 6907252: ZipFileInputStream Not Thread-Safe
Reviewed-by: sherman
2015-10-15 09:33:03 +01:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Doug Lea
c38b0eaba5 8134853: Bulk integration of java.util.concurrent classes
8080939: ForkJoinPool and Phaser deadlock
8044616: Clients of Unsafe.compareAndSwapLong need to beware of using direct stores to the same field
8071638: [JAVADOC] Buggy example in javadoc for afterExecute to access a submitted job's Throwable
8043743: Data missed in java.util.concurrent.LinkedTransferQueue
8054446: Repeated offer and remove on ConcurrentLinkedQueue lead to an OutOfMemoryError
8031374: TEST_BUG: java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently
8034208: Cleanup to test/java/util/concurrent/BlockingQueue/Interrupt.java
8035661: Test fix java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java from jsr166 CVS
8062841: ConcurrentHashMap.computeIfAbsent stuck in an endless loop
8073208: javadoc typo in java.util.concurrent.Executor
8073704: FutureTask.isDone returns true when task has not yet completed
8037093: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails intermittently
8022642: ScheduledThreadPoolExecutor with zero corePoolSize create endlessly threads
8065320: Busy loop in ThreadPoolExecutor.getTask for ScheduledThreadPoolExecutor
8129861: High processor load for ScheduledThreadPoolExecutor with 0 core threads
8051859: ScheduledExecutorService.scheduleWithFixedDelay fails with max delay
7146994: example afterExecute for ScheduledThreadPoolExecutor hangs

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:45:35 -07:00
Doug Lea
0f49a089d6 8134855: Bulk integration of java.util.concurrent.locks classes
8051848: ReentrantReadWriteLock.ReadLock fails on unlock by different thread
8049843: Lack of save / restore interrupt mechanism undermines the StampedLock

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:35:22 -07:00
Doug Lea
e82602a13a 8134850: Integrate the Flow API
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:25:10 -07:00
Doug Lea
2d8e9b323c 8134852: Integrate fork/join with API enhancements
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:15:06 -07:00
Doug Lea
cf43156eed 8134851: Integrate CompletableFuture with API enhancements
8039378: CompletableFuture: Avoid StackOverflowError for long linear chains

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:04:56 -07:00
Peter Levart
2beb7a2fd8 8136893: Improve early java.lang.invoke infrastructure initialization
Reviewed-by: mhaupt, psandoz, redestad, vlivanov
2015-10-14 00:08:42 +02:00
Chris Hegarty
dc881c5368 8139297: java.lang.NoClassDefFoundError: Could not initialize class jdk.internal.jimage.ImageNativeSubstrate
Reviewed-by: alanb, jlaskey
2015-10-12 19:14:59 +01:00
Chris Hegarty
a086d7e431 8139179: URLStreamHandler* should link to URL ctor that specifies how factories/providers are located
Reviewed-by: alanb
2015-10-10 17:30:04 +01:00
Chris Hegarty
37935fc4a0 8139307: Remove sun.misc.ConditionLock and Lock
Reviewed-by: alanb, lancea, martin, mchung, shade, smarks
2015-10-10 17:27:10 +01:00
Chris Hegarty
f17770b428 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:02 +01:00
Alejandro Murillo
76324a733f Merge 2015-10-08 14:28:56 -07:00
Valerie Peng
fcb924e751 8130648: JCK test api/java_security/AuthProvider/ProviderTests_login starts failing after JDK-7191662
Make uninitialized SunPKCS11 provider throw IllegalStateException for AuthProvider calls.

Reviewed-by: mullan
2015-10-08 20:51:08 +00:00
Rachna Goel
3848cce42f 8075315: API doc of Currency.getInstance(Locale) method is incorrect
Updated API doc of Currency.getInstance(Locale)method.

Reviewed-by: peytoia, naoto
2015-10-08 17:03:07 +05:30
Thomas Stuefe
18794fd351 8139037: [aix] Crash in ResolverConfigurationImpl.c - pointer shearing
Reviewed-by: goetz, simonis
2015-10-07 15:29:55 +02:00