Commit Graph

139 Commits

Author SHA1 Message Date
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Doug Lea
cee580a37d 8166646: Miscellaneous changes imported from jsr166 CVS 2016-10
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:47:23 -08:00
Doug Lea
3d0d86185e 8143577: optimize ArrayList.removeIf
8169679: ArrayList.subList().iterator().forEachRemaining() off-by-one-error
8167202: ArrayDeque improvements
8164793: new ArrayDeque(2**N) allocates backing array of size 2**(N+1)
8169739: LinkedBlockingDeque spliterator needs to support node self-linking
8169738: CopyOnWriteArrayList subList needs more synchronization

Reviewed-by: martin, smarks, psandoz, forax
2016-11-28 23:36:11 -08:00
Doug Lea
9e1258d0c3 8169243: java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java still fails intermittently
Reviewed-by: martin, smarks, psandoz, amlu
2016-11-28 23:33:25 -08:00
Paul Sandoz
bf450d55c1 8164814: Deprecate Atomic*.weakCompareAndSet and defer to Atomic*.weakCompareAndSetPlain
Reviewed-by: martin, dl
2016-10-10 15:58:42 -07:00
Doug Lea
c7cf1788ed 8165919: Miscellaneous changes imported from jsr166 CVS 2016-09-21
Reviewed-by: martin, chegar, shade
2016-09-23 13:24:33 -07:00
Doug Lea
edc7565f51 8166059: JSR166TestCase.java fails with NPE in dumpTestThreads on timeout
Reviewed-by: martin, chegar, shade
2016-09-23 13:21:23 -07:00
Doug Lea
c9f268cc15 8166057: [testbug] CoreThreadTimeOut still uses hardcoded timeout
Reviewed-by: martin, chegar, shade
2016-09-23 13:18:22 -07:00
Doug Lea
9496149e05 8166465: CompletableFuture.minimalCompletionStage().toCompletableFuture() should be non-minimal
Reviewed-by: martin, chegar, shade
2016-09-23 13:14:14 -07:00
Doug Lea
60cd28abd7 8164169: Miscellaneous changes imported from jsr166 CVS 2016-09
Reviewed-by: martin, psandoz, shade
2016-09-12 13:14:49 -07:00
Doug Lea
56cff174b6 8139237: java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java fails intermittently
Reviewed-by: martin, psandoz, shade
2016-09-12 13:11:38 -07:00
Doug Lea
d7f3695a90 8164983: Improve CountedCompleter code samples; add corresponding tests
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -07:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Doug Lea
4c999ed180 8163353: NPE in ConcurrentHashMap.removeAll()
Reviewed-by: martin, psandoz, redestad, alanb
2016-08-24 12:50:37 -07:00
Doug Lea
c5e580763c 8162627: Miscellaneous changes imported from jsr166 CVS 2016-08
Reviewed-by: martin, psandoz
2016-08-15 09:16:31 -07:00
Doug Lea
33762a65b8 8151158: [TESTBUG] java/util/concurrent/forkjoin/FJExceptionTableLeak.java fails due to out of memory
8144836: [TESTBUG] FJExceptionTableLeak and RemoveLeak fail with -XX:+UseParallelGC -XX:+AggressiveOpts

Reviewed-by: martin, psandoz, amlu, darcy
2016-08-15 09:13:22 -07:00
Doug Lea
0f24b72e4e 8163210: java/util/concurrent/tck/JSR166TestCase.java testWriteAfterReadLock(StampedLockTest): timed out waiting for thread to terminate
Reviewed-by: martin, psandoz, dholmes
2016-08-15 09:09:00 -07:00
Doug Lea
cdae608a00 8162805: Optimize AtomicBoolean.getAndSet
Reviewed-by: martin, psandoz, shade
2016-08-15 09:04:40 -07:00
Martin Buchholz
da7a66e347 8160605: java/util/SplittableRandom/SplittableRandomTest.java failed with timeout
Reviewed-by: psandoz, darcy
2016-07-27 10:34:10 -07:00
Doug Lea
55ee90a475 8161591: Miscellaneous changes imported from jsr166 CVS 2016-07
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:06:19 -07:00
Doug Lea
2545e51a0c 8161608: StampedLock should use storeStoreFence when acquiring write lock
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:02:05 -07:00
Doug Lea
825edd9274 8160751: Optimize ConcurrentHashMap.keySet().removeAll
8161372: ConcurrentHashMap.computeIfAbsent(k,f) locks bin when k present

Reviewed-by: martin, psandoz, plevart
2016-07-26 09:57:51 -07:00
Doug Lea
6db3f79f39 8160402: Garbage retention with CompletableFuture.anyOf
Reviewed-by: martin, psandoz, plevart
2016-07-26 09:53:38 -07:00
Amy Lu
ddbb299280 8161567: Mark java/util/concurrent/forkjoin/FJExceptionTableLeak.java as intermittently failing
Reviewed-by: martin, darcy
2016-07-19 09:37:28 +08:00
Doug Lea
14d4754bdd 8080603: Replace Unsafe with VarHandle in java.util.concurrent classes
8153715: Use Unsafe.weakCompareAndSet in java.util.concurrent

Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs, shade
2016-07-15 14:04:09 -07:00
Doug Lea
a09ddefd05 8157522: Performance improvements to CompletableFuture
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:59:58 -07:00
Doug Lea
aa81d50820 8159924: Various improvements to StampedLock code
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:51:43 -07:00
Doug Lea
559140e18e 8066070: PriorityQueue corrupted when adding non-Comparable
Reviewed-by: martin, chegar
2016-06-01 19:03:15 -07:00
Doug Lea
27a77176a6 8153768: Miscellaneous changes imported from jsr166 CVS 2016-05
Reviewed-by: martin, psandoz, chegar, shade
2016-05-24 10:14:41 -07:00
Harold Seigel
528b2cc81a 8155727: java/util/concurrent/locks/Lock/TimedAcquireLeak.java timeouts
Fix regex pattern to handle possible (module@version) text

Reviewed-by: ctornqvi, martin
2016-04-29 15:17:46 -04:00
Doug Lea
e52ce5092d 8151344: Improve timeout factor handling in tck/JSR166TestCase
Reviewed-by: martin, psandoz
2016-04-07 10:09:03 -07:00
Doug Lea
48ac259af1 8151501: LockSupport/ParkLoops.java: AssertionError: lost unpark
Reviewed-by: martin, psandoz, dholmes, forax
2016-04-07 10:06:01 -07:00
Doug Lea
fb58fda736 8152924: Improve scalability of CompletableFuture with large number of dependents
Reviewed-by: martin, psandoz
2016-04-07 09:57:08 -07:00
Doug Lea
837a779be8 8152083: Optimize TimeUnit conversions
Reviewed-by: martin, shade, forax
2016-03-28 08:53:39 -07:00
Doug Lea
b5d355ac84 8150416: Miscellaneous changes imported from jsr166 CVS 2016-03
Reviewed-by: martin, psandoz
2016-03-03 10:46:22 -08:00
Doug Lea
1c04a6de53 8150523: improve jtreg test timeout handling, especially -timeout:
Reviewed-by: martin, psandoz, smarks
2016-03-03 10:43:07 -08:00
Doug Lea
90771aabae 8150319: ScheduledExecutorTest:testFixedDelaySequence timeout with slow VMs
Reviewed-by: martin, psandoz
2016-03-03 10:36:08 -08:00
Amy Lu
2d281f78c4 8149920: Remove intermittent key from jdk_core tests
Reviewed-by: darcy
2016-02-18 09:50:55 +08:00
Doug Lea
eb6ab98ebc 8145485: Miscellaneous changes imported from jsr166 CVS 2016-02
Reviewed-by: martin, psandoz, chegar
2016-02-16 09:52:49 -08:00
Doug Lea
1e1ba84461 8139927: Improve documentation for CompletableFuture composition
8143089: CompletableFuture.whenComplete should use addSuppressed

Reviewed-by: martin, psandoz, chegar, plevart
2016-02-16 09:49:14 -08:00
Alexandre Iline
451a576a42 8149391: Fix module dependences in java/util tests
Reviewed-by: mchung
2016-02-08 18:14:48 -08:00
Nadeesh TV
6d4368a7cb 8141452: Convert between TimeUnit and ChronoUnit
Reviewed-by: martin, psandoz, chegar, rriggs, scolebourne
2016-02-02 08:53:49 -08:00
Martin Buchholz
6721e37306 8148638: test failure in test/java/util/concurrent/tck
Temporarily comment out assertions for not-yet-merged changes

Reviewed-by: rriggs
2016-01-29 13:57:38 -08:00
Doug Lea
c2919752fd 8146467: Integrate JSR 166 jck tests into JDK repo
Reviewed-by: martin, psandoz, chegar, fyuan, jjg
2016-01-29 11:44:19 -08:00
Doug Lea
6646fcbf18 8144990: java/util/concurrent/forkjoin/FJExceptionTableLeak.java: OOM with Xcomp,G1GC
Reviewed-by: martin, psandoz, chegar
2016-01-28 08:23:23 -08:00
Joe Darcy
a56d95529c 8147480: Mark FJExceptionTableLeak.java as intermittently failing
Reviewed-by: martin, lancea, rriggs
2016-01-15 10:30:56 -08:00
Joe Darcy
4faa0ee15c 8144880: Instrument intermittently failing test ConfigChanges.java
Reviewed-by: lancea, martin
2015-12-07 14:12:58 -08:00
Doug Lea
9ea1a16abd 8142441: Improve jtreg tests for java.util.concurrent
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:56:44 -08:00
Doug Lea
19cd84ef8c 8140471: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java timed out
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:40:41 -08:00