On Tue, 15 Apr 2025 13:15:25 GMT, Viktor Klang <vkl...@openjdk.org> wrote:
>> src/java.base/share/classes/java/util/concurrent/StructuredTaskScope.java >> line 337: >> >>> 335: * <a >>> href="{@docRoot}/java.base/java/util/concurrent/package-summary.html#MemoryVisibility"> >>> 336: * <i>happen-before</i></a> any actions taken by that subtask, which >>> in turn >>> 337: * <i>happen-before</i> the subtask result is {@linkplain >>> Subtask#get() retrieved}. >> >> Chen has suggested that this be expanded to specify a HB between onComplete >> and join. Viktor and I have discussed extending the existing text to deal >> with subtask outcome that "contributes" to the scope result but did not >> agree wording (note that this is a pre-existing short-coming in the spec, >> not a new issue). > > I'm not sure where we are on this topic. Clearly there's an edge between the > pre-join and post-join phases. Yes, but it would be a topic for a different PR as we haven't changed anything here. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21934#discussion_r2044567696