Commit Graph

70 Commits

Author SHA1 Message Date
Doug Lea
a4641686a0 6978087: jsr166y Updates
Simplify the ForkJoinPool API, reworking some of the internals

Reviewed-by: martin, dholmes, chegar
2010-09-13 09:55:03 +01:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Martin Buchholz
6b4917957f 6941130: Semaphore should throw if number of permits overflows or underflows
Check if release could make number of permits negative

Reviewed-by: dl, dholmes
2010-04-07 12:30:49 -07:00
Doug Lea
dc8d9d049e 6908348: java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java get OOME for unbounded queues
Reviewed-by: martin, dholmes
2009-12-23 15:57:14 -08:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Doug Lea
ef2dd097cc 6865582: jsr166y - jsr166 maintenance update
6865571: Add a lightweight task framework known as ForkJoin
6445158: Phaser - an improved CyclicBarrier
6865579: Add TransferQueue/LinkedTransferQueue

Reviewed-by: martin, chegar, dice
2009-11-02 17:25:38 -08:00
Doug Lea
28c28df142 6868712: Improve concurrent queue tests
Fix all known flaky tests, plus minor maintenance

Reviewed-by: martin, chegar
2009-08-25 19:19:42 -07:00
Doug Lea
d43e798981 6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Faster, more correct. Use self-linking trick to avoid gc retention

Reviewed-by: martin, dholmes
2009-07-28 17:17:55 -07:00
Doug Lea
df5da31f55 6785442: ConcurrentLinkedQueue.remove() and poll() can both remove the same element
6493942: ConcurrentLinkedQueue.remove sometimes very slow

New algorithm for handling concurrent linked lists

Reviewed-by: martin
2009-07-28 13:24:52 -07:00
Tim Bell
b5b691accb Merge 2009-04-10 15:30:37 -07:00
Kelly O'Hair
1e18bf2d6e 6824583: regtest TimeUnit/Basic.java fails intermittently on Windows - again
Reviewed-by: dholmes
2009-04-01 09:08:54 -07:00
Doug Lea
b63d6d68d9 6801020: Concurrent Semaphore release may cause some require thread not signaled
Introduce PROPAGATE waitStatus

Reviewed-by: martin
2009-03-26 11:59:07 -07:00
Doug Lea
1c84fa3582 6725789: ScheduledExecutorService does not work as expected in jdk7/6/5
Reviewed-by: martin, dholmes, chegar
2008-08-01 00:42:43 -07:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Martin Buchholz
af3cf15e6e 6633113: test/java/util/concurrent/SynchronousQueue/Fairness.java fails intermittently
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Doug Lea
e4f30f8084 6625723: Excessive ThreadLocal storage used by ReentrantReadWriteLock
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
f280870c0f 6609775: Reduce context switches in DelayQueue due to signalAll
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Doug Lea
0170151171 6602600: Fast removal of cancelled scheduled thread pool tasks
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Martin Buchholz
f8092959d4 6595669: regtest LinkedBlockingQueue/OfferRemoveLoops.java fails
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00