Commit Graph

64 Commits

Author SHA1 Message Date
Dr Heinz M. Kabutz
2b57f402c4 8343426: ConcurrentSkipListMap.spliterator() can no longer split the stream
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: vklang
2024-11-14 09:17:02 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Eirik Bjørsnøs
0f381137cb 8341243: Use ArraySupport.SOFT_MAX_ARRAY_LENGTH for max array size in java.base
Reviewed-by: jpai, smarks
2024-10-02 01:27:03 +00:00
Viktor Klang
326dbb1b13 8312436: CompletableFuture never completes when 'Throwable.toString()' method throws Exception
Reviewed-by: alanb
2024-06-05 14:40:04 +00:00
Viktor Klang
b78613b681 8332154: Memory leak in SynchronousQueue
Reviewed-by: alanb
2024-05-20 18:52:34 +00:00
Viktor Klang
8a4315f833 8331987: Enhance stacktrace clarity for CompletableFuture CancellationException
Reviewed-by: alanb, dfuchs
2024-05-15 18:35:46 +00:00
Viktor Klang
28216aa971 8328366: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501
Reviewed-by: mchung, alanb
2024-04-04 18:32:59 +00:00
Jaikiran Pai
54f09d7345 8278527: java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test
Reviewed-by: martin, lancea
2024-02-23 00:53:19 +00:00
Doug Lea
cc25d8b12b 8319662: ForkJoinPool trims worker threads too slowly
8319498: ForkJoinPool.invoke(ForkJoinTask) does not specify behavior when task throws checked exception

Reviewed-by: alanb
2023-12-06 16:12:59 +00:00
Doug Lea
667cca9d7a 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted"
Reviewed-by: alanb
2023-10-27 10:08:59 +00:00
Soumadipta Roy
4415261688 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Reviewed-by: martin, shade
2023-09-14 19:22:31 +00:00
Martin Buchholz
a565be4dc5 8297605: improve DelayQueue removal method javadoc
Reviewed-by: alanb
2023-03-31 18:11:53 +00:00
Alan Bateman
19d849884b 8297495: j.u.concurrent updates for JDK 20
Reviewed-by: jpai
2022-12-05 15:20:16 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Doug Lea
4f5d73f2d4 8286294: ForkJoinPool.commonPool().close() spins
Reviewed-by: alanb
2022-05-09 11:09:34 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Doug Lea
00e6c63cd1 8277090: jsr166 refresh for jdk19
Reviewed-by: alanb, psandoz
2022-05-04 19:24:19 +00:00
Yasser Bazzi Bordonal
df8c2be5fe 8279598: Provide adapter from RandomGenerator to Random
Reviewed-by: smarks, darcy
2022-05-04 17:55:50 +00:00
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
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
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
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
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
f634f777f6 8227235: rare failures in testForkHelpQuiesce tck tests
Reviewed-by: martin, alanb
2019-09-14 11:20:57 -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
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
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
Doug Lea
0a0a8a5791 8203681: Miscellaneous changes imported from jsr166 CVS 2018-06
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
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