Commit Graph

42 Commits

Author SHA1 Message Date
Doug Lea
ca15073223 8176551: testCommonPoolThreadContextClassLoader fails with "Should throw SecurityException"
Reviewed-by: martin, chegar, dholmes, amlu
2017-03-14 07:04:50 -07:00
Doug Lea
2accd8450e 8176303: Flow.Subscription.request(0) should be treated as an error
Reviewed-by: martin, chegar
2017-03-10 08:59:14 -08:00
Doug Lea
c6202f9387 8173909: Miscellaneous changes imported from jsr166 CVS 2017-03
Reviewed-by: martin, psandoz
2017-03-03 10:45:38 -08:00
Doug Lea
ecabcca746 8172726: ForkJoin common pool retains a reference to the thread context class loader
Reviewed-by: martin, psandoz, chegar
2017-02-07 00:38:22 -08:00
Doug Lea
030a779128 8171886: Miscellaneous changes imported from jsr166 CVS 2017-02
Reviewed-by: martin, psandoz
2017-02-03 13:24:59 -08:00
Doug Lea
7f519be836 8169748: LinkedTransferQueue bulk remove is O(n^2)
8172023: Concurrent spliterators fail to handle exhaustion properly

Reviewed-by: martin, psandoz, smarks
2017-02-03 13:24:59 -08:00
Doug Lea
1f99fea68c 8173706: Is able to set a negative j.u.Vector size in JDK9 b151
Reviewed-by: martin, psandoz, smarks
2017-02-03 13:24:59 -08:00
Doug Lea
1414335f71 8170484: Miscellaneous changes imported from jsr166 CVS 2016-12
Reviewed-by: martin, smarks, psandoz
2016-12-21 14:26:52 -08:00
Doug Lea
bdab1d842f 8171051: LinkedBlockingQueue spliterator needs to support node self-linking
Reviewed-by: martin, smarks, psandoz
2016-12-21 14:22:53 -08:00
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
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
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
d7f3695a90 8164983: Improve CountedCompleter code samples; add corresponding tests
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -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
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
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
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
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
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
90771aabae 8150319: ScheduledExecutorTest:testFixedDelaySequence timeout with slow VMs
Reviewed-by: martin, psandoz
2016-03-03 10:36:08 -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