Commit Graph

35 Commits

Author SHA1 Message Date
Viktor Klang
ef0dc2518e 8342707: Prepare Gatherers for graduation from Preview
Reviewed-by: alanb, liach
2024-11-11 19:57:26 +00:00
Viktor Klang
27982c8f5d 8327854: Test java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpStatefulTest.java failed with RuntimeException
Reviewed-by: psandoz
2024-07-02 20:27:52 +00:00
Viktor Klang
f12ed061ae 8048691: Spliterator.SORTED characteristics gets cleared for BaseStream.spliterator
Reviewed-by: psandoz, alanb
2024-05-07 19:06:36 +00:00
Viktor Klang
8a5b86c529 8196106: Support nested infinite or recursive flat mapped streams
Reviewed-by: psandoz
2024-04-16 11:09:59 +00:00
Viktor Klang
ab28045d77 8328316: Finisher cannot emit if stream is sequential and integrator returned false
Reviewed-by: psandoz
2024-03-21 19:20:01 +00:00
Viktor Klang
9d776777c5 8321124: java/util/stream/GatherersTest.java times out
Reviewed-by: alanb
2023-12-06 07:12:03 +00:00
Viktor Klang
33b26f79a9 8319123: Implement JEP 461: Stream Gatherers (Preview)
Reviewed-by: tvaleev, alanb, psandoz
2023-11-30 14:45:23 +00:00
Jorn Vernee
32ac72c3d3 8312522: Implementation of Foreign Function & Memory API
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Per Minborg
cbccc4c817 8304265: Implementation of Foreign Function and Memory API (Third Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Daniel D. Daugherty
ab6988599c 8292215: java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java times out with slowdebug
Reviewed-by: rriggs, shade
2022-08-22 19:31:50 +00:00
Maurizio Cimadamore
2c5d136260 8282191: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00
Tagir F. Valeev
4cc8eccfca 8280915: Better parallelization for AbstractSpliterator and IteratorSpliterator when size is unknown
Reviewed-by: psandoz
2022-04-15 15:18:38 +00:00
Maurizio Cimadamore
96e36071b6 8275063: Implementation of Foreign Function & Memory API (Second incubator)
Reviewed-by: erikj, psandoz, jvernee, darcy
2021-11-24 11:51:16 +00:00
Maurizio Cimadamore
a223189b06 8264774: Implementation of Foreign Function and Memory API (Incubator)
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Tagir F. Valeev
0c9daa7ed5 8265029: Preserve SIZED characteristics on slice operations (skip, limit)
Reviewed-by: psandoz
2021-05-28 01:56:38 +00:00
Patrick Concannon
fbe40e8926 8252399: Update mapMulti documentation to use type test pattern instead of instanceof once JEP 375 exits preview
Reviewed-by: dfuchs, psandoz, smarks
2021-03-09 11:09:40 +00:00
Stuart Marks
41dbc139ab 8180352: Add Stream.toList() method
Reviewed-by: psandoz
2020-11-30 19:37:56 +00:00
Stuart Marks
646c20022c 8256152: tests fail because of ambiguous method resolution
Reviewed-by: psandoz
2020-11-18 22:04:18 +00:00
Maurizio Cimadamore
3e70aac5cc 8254162: Implementation of Foreign-Memory Access API (Third Incubator)
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
Aleksey Shipilev
c28b011121 8255343: java/util/stream/SpliteratorTest.java fails on 32-bit platforms with "Misaligned access at address: 12"
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2020-10-26 07:11:44 +00:00
Stuart Marks
d7128e7dac 8254090: Collectors.toUnmodifiableList exposes shared secret
Co-authored-by: Tagir F. Valeev <tvaleev@openjdk.org>
Reviewed-by: psandoz
2020-10-12 17:22:21 +00:00
Patrick Concannon
79d12507b3 8238286: Add new flatMap stream operation that is more amenable to pushing
This patch adds a new flatmap-like operation called mapMulti to the java.util.Stream class as well as the primitive variations of this operation i.e. mapMultiToInt, IntStream mapMulti, etc.

Reviewed-by: psandoz, smarks
2020-08-31 16:12:32 +01:00
Chris Hegarty
f1e1cb7055 8246095: Tweaks to memory access API
Add more user friendly API points to the foreign memory acesss API

Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Chris Hegarty
f3eb44a94d 8243491: Implementation of Foreign-Memory Access API (Second Incubator)
Upstream latest changes of the Foreign-Memory Access API

Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Julia Boes
4dafa3033f 8231161: Wrong return type in code sample in Collector API documentation
Correct declaration of container from R to A and add compilation test

Reviewed-by: smarks, lancea
2019-10-03 18:59:56 +01:00
Tagir Valeev
7c9ab50d06 8205461: Create Collector which merges results of two other collectors
Reviewed-by: briangoetz, smarks, plevart
2018-09-25 14:23:37 +02:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Claes Redestad
de4aa804af 8134459: java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpTest.java timed out
Reviewed-by: psandoz, rriggs
2018-01-10 00:08:46 +01:00
Paul Sandoz
e1e9023545 8075939: Stream.flatMap() causes breaking of short-circuiting of terminal operations
Reviewed-by: forax, smarks
2017-12-21 13:52:20 -08:00
Paul Sandoz
e6680338c5 8193856: takeWhile produces incorrect result with elements produced by flatMap
Reviewed-by: smarks
2017-12-20 11:40:45 -08:00
Paul Sandoz
cc59ccb7d4 8190974: Parallel stream execution within a custom ForkJoinPool should obey the parallelism
Reviewed-by: martin, tvaleev
2017-11-08 10:27:10 -08:00
Chris Dennis
58faa32cfe 8178117: Add public state constructors for Int/Long/DoubleSummaryStatistics
Reviewed-by: psandoz, bpb, briangoetz
2017-04-11 17:25:09 -04:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00