Commit Graph

118 Commits

Author SHA1 Message Date
David Holmes
2e542e33b8 8274349: ForkJoinPool.commonPool() does not work with 1 CPU
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: shade, martin
2021-10-04 23:14:12 +00:00
Julia Boes
344e3edf76 8268080: java/util/concurrent/forkjoin/AsyncShutdownNow.java fails with java.util.concurrent.RejectedExecutionException
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: chegar, dfuchs
2021-06-17 09:10:27 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Martin Buchholz
81e9e6a7fc 8260461: Modernize jsr166 tck tests
Reviewed-by: dl
2021-01-28 18:06:55 +00:00
Jesper Wilhelmsson
cf25383d19 Merge 2021-01-19 22:49:44 +00:00
Martin Buchholz
f7b96d347a 8259796: timed CompletableFuture.get may swallow InterruptedException
Reviewed-by: dl, alanb
2021-01-19 18:41:08 +00:00
Martin Buchholz
270014ab4e 8234131: Miscellaneous changes imported from jsr166 CVS 2021-01
8257671: ThreadPoolExecutor.Discard*Policy: rejected tasks are not cancelled

Reviewed-by: alanb, prappo, dl
2021-01-09 21:59:27 +00:00
Martin Buchholz
63e3bd7613 8246677: LinkedTransferQueue and SynchronousQueue synchronization updates
Reviewed-by: alanb, dl
2021-01-09 21:08:32 +00:00
Martin Buchholz
5cfa8c94d6 8246585: ForkJoin updates
8229253: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"

Reviewed-by: dl
2021-01-09 20:57:52 +00:00
Martin Buchholz
43dc3f7992 8254350: CompletableFuture.get may swallow InterruptedException
Reviewed-by: alanb, dl
2020-12-13 19:17:36 +00:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Doug Lea
f29d1d172b 8231026: Miscellaneous changes imported from jsr166 CVS 2019-11
Reviewed-by: martin
2019-11-01 09:07:59 -07:00
Doug Lea
dc7d30d08e 8231592: Clarify that ConcurrentHashMap compute methods mapping functions execute at most once
Reviewed-by: martin
2019-11-01 09:04:04 -07:00
Doug Lea
a9254cbcfa 8231032: ThreadMXBean locking tests fail after JSR 166 refresh
Reviewed-by: martin, mchung, dholmes
2019-09-27 12:20:14 -07:00
Doug Lea
eb1eadb69f 8225490: Miscellaneous changes imported from jsr166 CVS 2019-09
Reviewed-by: martin, alanb
2019-09-14 11:26:26 -07:00
Doug Lea
9275097a02 8145138: CyclicBarrier/Basic.java failed with "3 not equal to 4"
Reviewed-by: martin, alanb
2019-09-14 11:26:26 -07:00
Doug Lea
064f69d6ab 8221168: java/util/concurrent/CountDownLatch/Basic.java fails
Reviewed-by: martin, alanb
2019-09-14 11:24:14 -07:00
Doug Lea
f634f777f6 8227235: rare failures in testForkHelpQuiesce tck tests
Reviewed-by: martin, alanb
2019-09-14 11:20:57 -07:00
Doug Lea
80fe274875 8229442: AQS and lock classes refresh
Reviewed-by: martin
2019-09-14 11:16:40 -07:00
Vladimir Kozlov
c956e7ca8d 8185139: [Graal] Tests which set too restrictive security manager fail with Graal
Tests should also check default policy

Reviewed-by: mchung, dfuchs, alanb, mullan
2019-06-21 13:04:14 -07:00
Doug Lea
22a4313efc 8224024: java/util/concurrent/BlockingQueue/DrainToFails.java testBounded fails intermittently
Reviewed-by: martin
2019-05-24 08:47:39 -07:00
Doug Lea
187ce630a2 8219138: Miscellaneous changes imported from jsr166 CVS 2019-05
Reviewed-by: martin
2019-05-02 06:33:28 -07:00
Doug Lea
82b990abc9 8221892: ThreadPoolExecutor: Thread.isAlive() is not equivalent to not being startable
Reviewed-by: martin, dholmes
2019-05-02 06:33:28 -07:00
Adam Farley8
d97dd4d554 8222930: ConcurrentSkipListMap.clone() shares size variable between original and clone
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, smarks
2019-05-02 06:33:28 -07:00
Doug Lea
ff97b60fde 8215249: Miscellaneous changes imported from jsr166 CVS 2019-02
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
a7ab4d7bd3 8215359: InnocuousForkJoinWorkerThread.setContextClassLoader needlessly throws
Reviewed-by: martin, chegar, dholmes, reinhapa, alanb
2019-02-15 11:18:01 -08:00
Doug Lea
012c399c26 8195057: java/util/concurrent/CountDownLatch/Basic.java failed w/ Xcomp
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
f0807ebc18 8210280: Unnecessary reallocation when invoking HashMap.putAll()
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, mvala, igerasim, chegar, rriggs
2019-02-08 13:39:22 -08:00
Doug Lea
53d3a4f50c 8211283: Miscellaneous changes imported from jsr166 CVS 2018-11
Reviewed-by: martin, chegar
2018-11-28 15:25:14 -08:00
Doug Lea
5d11c7bd0c 8212899: java/util/concurrent/tck/JSR166TestCase.java - testMissedSignal_8187947(SubmissionPublisherTest): timed out waiting for CountDownLatch for 40 sec
Reviewed-by: martin, dholmes
2018-11-28 15:25:14 -08:00
Roger Riggs
29e742273e 8185496: Improve performance of system properties initialization in initPhase1
8213424: VersionProps duplicate and skipped initialization

Reviewed-by: mchung, redestad, dholmes
2018-11-09 13:28:16 -05:00
Doug Lea
deb0e6503d 8207003: Miscellaneous changes imported from jsr166 CVS 2018-09
Reviewed-by: martin, chegar
2018-09-28 08:45:46 -07:00
Doug Lea
0b431957a5 8210971: Add exception handling methods to CompletionStage and CompletableFuture
Reviewed-by: martin, chegar
2018-09-28 08:45:46 -07:00
Igor Ignatyev
3521fc392e 8210779: 8182404 and 8210732 haven't updated copyright years
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Igor Ignatyev
8b28ad6efe 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Doug Lea
08fb8e4d1c 8205576: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"
Reviewed-by: martin, psandoz, dholmes, tschatzl
2018-07-10 10:24:08 -07:00
Doug Lea
0a0a8a5791 8203681: Miscellaneous changes imported from jsr166 CVS 2018-06
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Doug Lea
abffccb329 8202422: value of 'sizeCtl' in ConcurrentHashMap varies with the constructor called
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Stuart Marks
693a6dd27a 8060192: Add default method <A> A[] Collection.toArray(IntFunction<A[]> generator)
Reviewed-by: martin, forax, psandoz, briangoetz
2018-06-21 08:25:03 -07:00
Doug Lea
307f2c4550 8204375: Add TimeUnit#convert(Duration)
Reviewed-by: martin, scolebourne, plevart, rriggs
2018-06-08 11:38:40 -07:00
Doug Lea
96814f7a28 8201386: Miscellaneous changes imported from jsr166 CVS 2018-05
Reviewed-by: martin, psandoz
2018-05-22 21:50:45 -07:00
Doug Lea
e4046542ba 8202685: Optimize ArrayList subList replaceAll
Reviewed-by: martin, psandoz, igerasim, redestad, dholmes, smarks, jrose, plevart
2018-05-22 21:46:51 -07:00
Doug Lea
cdd36df363 8197531: Miscellaneous changes imported from jsr166 CVS 2018-04
Reviewed-by: martin, psandoz
2018-04-10 11:37:18 -07:00
Doug Lea
a4f3a1d9eb 8200258: Improve CopyOnWriteArrayList subList code
Reviewed-by: martin, psandoz, smarks
2018-04-10 11:33:29 -07:00
Doug Lea
f9b19eb874 8195590: Miscellaneous changes imported from jsr166 CVS 2018-02
Reviewed-by: martin, psandoz, dholmes
2018-02-10 09:23:41 -08:00
Doug Lea
b6c2b234ef 8190324: ThreadPoolExecutor should not specify a dependency on finalization
Reviewed-by: martin, psandoz, alanb, rriggs, dholmes
2018-02-10 09:17:53 -08:00
Doug Lea
d771fc3a6b 8193300: Miscellaneous changes imported from jsr166 CVS 2018-01
Reviewed-by: martin
2018-01-16 18:28:39 -08:00
Doug Lea
c19d18871c 8191483: AbstractQueuedSynchronizer cancel/cancel race
Reviewed-by: martin
2018-01-16 18:24:32 -08:00
Doug Lea
71a866fe0c 8192944: Miscellaneous changes imported from jsr166 CVS 2017-12-08
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:30:53 -08:00
Doug Lea
8a51910f8e 8191069: Miscellaneous changes imported from jsr166 CVS 2017-12
Reviewed-by: martin, psandoz
2017-12-02 10:13:18 -08:00
Doug Lea
850b92fa04 8187947: A race condition in SubmissionPublisher
Reviewed-by: martin, psandoz
2017-12-02 10:08:55 -08:00
Doug Lea
eac77274e8 8191937: Lost interrupt in AbstractQueuedSynchronizer when tryAcquire methods throw
Reviewed-by: martin, psandoz
2017-12-02 10:03:41 -08:00
Doug Lea
5d5334f305 8189764: Miscellaneous changes imported from jsr166 CVS 2017-11
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:14:45 -08:00
Doug Lea
e2cbace23d 8189387: ConcurrentLinkedDeque linearizability continued ..
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:10:46 -08:00
Doug Lea
42ad4ec2dd 8179314: CountedCompleterTest.testForkHelpQuiesce fails with expected:<21> but was:<13>
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:07:21 -08:00
Doug Lea
f2eb80c063 8190747: ExecutorService/Invoke.java fails intermittently
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:03:37 -08:00
Naoto Sato
ab49e12b7f 8189291: Test policy should extend the default system policy
Reviewed-by: mchung
2017-10-24 08:56:30 -07:00
Doug Lea
cae8353ec8 8188575: Miscellaneous changes imported from jsr166 CVS 2017-10
Reviewed-by: martin, psandoz
2017-10-13 18:34:37 -07:00
Doug Lea
dc895e3911 8187941: Add StampedLock stamp inspection methods
Reviewed-by: martin, psandoz
2017-10-13 18:29:21 -07:00
Doug Lea
f8ae408aa9 8188047: Add SplittableRandom.nextBytes
Reviewed-by: martin, psandoz
2017-10-13 18:19:18 -07:00
Doug Lea
925bc58717 8188853: java/util/concurrent/ExecutorService/Invoke.java Assertion failure
Reviewed-by: martin, psandoz, dholmes
2017-10-13 18:12:54 -07:00
Doug Lea
10dded5f7f 8188900: ConcurrentLinkedDeque linearizability
Reviewed-by: martin, psandoz
2017-10-13 18:07:47 -07:00
Doug Lea
c3664b7f38 8186056: Miscellaneous changes imported from jsr166 CVS 2017-09
Reviewed-by: martin, psandoz
2017-10-03 14:00:00 -07:00
Charles Munger
229cce5f44 8186265: Make toString() methods of "task" objects more useful
Reviewed-by: martin, psandoz, rriggs, dholmes, darcy
2017-10-03 13:55:05 -07:00
Doug Lea
d9d91c1cc4 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
Reviewed-by: martin, psandoz
2017-10-03 13:45:11 -07:00
Doug Lea
76db7c6b61 8187607: [Testbug] Atomic*FieldUpdaterTest.checkPrivateAccess uses nested classes
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:41:55 -07:00
Doug Lea
c6e3667228 8187408: AbstractQueuedSynchronizer wait queue corrupted when thread awaits without holding the lock
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:37:01 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00