Commit Graph

101 Commits

Author SHA1 Message Date
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
Doug Lea
247c08f85d 8140468: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java failed with java.lang.Error: Completed == 4; expected 2
8040928: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java: java.lang.Error: Completed != 2

Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:35:27 -08:00
Doug Lea
22fa6c1f25 8141031: java/util/concurrent/Phaser/Basic.java starts failing intermittently
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:30:07 -08:00
Amy Lu
765cd7602c 8142370: Move java/util/concurrent/Phaser/Basic.java to tier 2
Reviewed-by: darcy, martin
2015-11-10 13:15:01 +08: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
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
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
David Holmes
f032aa1311 8133611: Remove java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java from problem list
Reviewed-by: darcy
2015-09-09 04:02:59 -04:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Joe Darcy
c32cc2b967 8133231: Mark TimeoutLockLoops.java as failing intermittently
Reviewed-by: lancea
2015-08-10 16:28:31 -07:00
Joe Darcy
6e48caf250 8081734: ConcurrentHashMap/ConcurrentAssociateTest.java, times out 90% of time on sparc with 256 cpu
Reviewed-by: chegar
2015-07-20 15:13:50 -07:00
Doug Lea
975075a8c8 8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Paul Sandoz
0e7987c721 8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00
Doug Lea
37fbfc1a3d 8078490: Missed submissions in ForkJoinPool
Reviewed-by: psandoz, shade, martin, chegar
2015-04-24 15:39:41 +02:00
Paul Sandoz
c007f0f7d4 8072030: Race condition in ThenComposeExceptionTest.java
Reviewed-by: chegar
2015-02-02 14:21:32 +01:00
Doug Lea
595be219a4 8068432: Inconsistent exception handling in CompletableFuture.thenCompose
Reviewed-by: psandoz, chegar, martin
2015-01-21 09:46:21 +00:00
Chris Hegarty
1a2e64b98b 8060052: FutureTask; fix underflow when timeout = Long.MIN_VALUE
Reviewed-by: martin
2014-10-11 14:45:27 +01:00
Ivan Gerasimov
a9f575446d 8037866: Replace the Fun class in tests with lambdas
Reviewed-by: martin
2014-06-02 19:49:57 +04:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Alan Bateman
804f3e85f3 8034175: Remove use of UseVMInterruptibleIO from tests
Reviewed-by: chegar
2014-02-11 10:49:07 +00:00
Chris Hegarty
936e416310 8011645: CopyOnWriteArrayList.COWSubList.subList does not validate range properly
Reviewed-by: martin, psandoz
2014-01-31 18:32:07 +00:00
Martin Buchholz
30717d9de3 8032057: Remove unneeded/obsolete -source options in concurrency tests
Reviewed-by: chegar
2014-01-17 13:54:13 +00:00
Srikalyan Chandrashekar
b82ed208c9 6772009: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java test failed with 'Completed != 2'
Reviewed-by: martin, dholmes
2014-01-08 13:08:20 +00:00
Chris Hegarty
2878960abe 8031067: java/util/concurrent/atomic/AtomicUpdaters.java: java.lang.Error: Unexpected reflective access
Ensure that the test is not influenced by the default users policy.

Reviewed-by: martin
2014-01-07 11:34:59 +00:00
Doug Lea
1c59527f70 8028564: Concurrent calls to CHM.put can fail to add the key/value to the map
Reviewed-by: psandoz, chegar, alanb
2013-12-05 09:44:53 +01:00
Paul Sandoz
8fb00644a9 8029164: Race condition in CompletableFuture.thenCompose with asynchronous task
Reviewed-by: dl, chegar, mduigou
2013-12-04 10:27:50 +01:00
Tristan Yan
bd40c9b63d 8025198: Intermittent test failure: java/util/concurrent/ThreadPoolExecutor/ThrowingTasks.java
Reviewed-by: martin, dholmes
2013-11-04 06:58:30 -05:00
Alan Bateman
e1c6970bd6 8026344: j.u.c.a *Adder and *Accumulator extend a package private class that is Serializable
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: rriggs, psandoz, chegar
2013-10-24 13:24:32 +01:00
Doug Lea
3f1d887049 8004138: ForkJoinTask leaks exceptions
Reviewed-by: chegar, mduigou, psandoz, martin
2013-10-17 12:43:32 -07:00
Doug Lea
851fd0447e 8024253: ThreadLocal random can use SecureRandom for the initial seed
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, chegar, alanb
2013-09-20 11:07:06 -07:00
Paul Sandoz
4df3876c56 8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java
Reviewed-by: alanb
2013-09-15 16:13:41 +02:00
Paul Sandoz
bef51c4a08 8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: forax, chegar, alanb
2013-09-02 11:59:57 +02:00
Paul Sandoz
6c97499183 8023155: Ensure functional consistency across Random, ThreadLocalRandom, SplittableRandom
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou
2013-08-28 22:11:14 +02:00
Doug Lea
56dbd896c3 8023234: StampedLock serializes readers on writer unlock
Sync-up the fix from jsr166 CVS, signal more readers on writer unlock

Reviewed-by: martin, shade
2013-08-26 17:50:34 +04:00
Doug Lea
b1a10b8ed7 8020291: j.u.c.CompletionStage
8020435: CompletableFuture/Basic.java fails on single core machine

Reviewed-by: chegar, psandoz
2013-08-02 14:29:31 +01:00
Martin Buchholz
fadbd21469 8016311: Update j.u.c. tests to avoid using Thread.stop(Throwable)
Reviewed-by: alanb
2013-06-11 11:25:59 +01:00
Brian Goetz
15adfafa5b 8012664: Add tests for java.util.stream and lambda translation
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Mike Duigou <mike.duigou@oracle.com>
Co-authored-by: Robert Field <robert.field@oracle.com>
Co-authored-by: Jim Gish <jim.gish@oracle.com>
Reviewed-by: mduigou, briangoetz
2013-05-06 11:43:51 -04:00