On Fri, 21 Apr 2023 23:16:06 GMT, Jeremy <d...@openjdk.org> wrote: > Does this answer your question, or are you considering a different use case?
Yes, if it is safe to assume that it is not possible to change the `theConsumer` by a different thread. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13408#discussion_r1174297664