Integrated: 8314280: StructuredTaskScope.shutdown should document that the state of completing subtasks is not defined

Alan Bateman alanb at openjdk.org
Thu Aug 17 08:05:34 UTC 2023


On Tue, 15 Aug 2023 16:21:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> This is a docs only change. The specification for StructuredTaskScope.shutdown should make it clear that the state of subtasks that are completing (with a result or exception) at around the time of shutdown is not defined. The state of a completing subtask may transition to a terminal state, it may not, as it is racing with the shutdown.

This pull request has now been integrated.

Changeset: ed585d16
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ed585d16b9069a678bb8633239ca87f64c956fdd
Stats:     6 lines in 1 file changed: 6 ins; 0 del; 0 mod

8314280: StructuredTaskScope.shutdown should document that the state of completing subtasks is not defined

Reviewed-by: psandoz

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

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


More information about the core-libs-dev mailing list