RFR: 8319123: Implementation of JEP-461: Stream Gatherers (Preview) [v7]
Rémi Forax
forax at openjdk.org
Tue Nov 14 09:50:47 UTC 2023
On Tue, 14 Nov 2023 07:51:42 GMT, Viktor Klang <vklang at openjdk.org> wrote:
>> This Pull-Request implements [JEP-461](https://openjdk.org/jeps/461)
>
> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
>
> Addressing last review feedback
Hello,
the relation between a stateless gatherer (default initializer) and the default combiner are not obvious to me.
A default initializer means stateless and a default combiner means sequential, so if i want the integrator of my stateless gatherer to be called in parallel, i need to not use the default combiner but at the same time the combiner I will pass as parameter will not be called because the gatherer is stateless ?
Having to create a combiner that will be not called seems weird. I'm sure i'm missing something ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16420#issuecomment-1809873419
More information about the core-libs-dev
mailing list