On Sat, 19 Nov 2022 23:23:07 GMT, Pavel Rappo <pra...@openjdk.org> wrote:

> I might be mistaken, but that vector is not temporary: the vector and the 
> enumeration produced from it seems to be reachable for as long as the stream 
> is. Both the enumeration and the vector are synchronized. That 
> synchronization might provide implicit (JMM) visibility for some stream users.

I suspect you meant this comment for PR11249 rather than this one.

-------------

PR: https://git.openjdk.org/jdk/pull/11248

Reply via email to