Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

Backports #21243 to the 3.5.2 branch.

PR submitted by the release tooling.
[skip ci]

This strategy ensures the "serializability" condition of parallel
programs--not to be confused with the data being `java.io.Serializable`.
Indeed, if thread A is evaluating the lazy val while thread B attempts
to serialize its owner object, there is also an alternative schedule
where thread B serializes the owner object *before* A starts evaluating
the lazy val. Therefore, forcing B to see the non-evaluating state is
correct.

[Cherry-picked e242753]
Base automatically changed from 3.5.x-21262 to 3.5.x August 27, 2024 22:09
@WojciechMazur WojciechMazur merged commit f76c34a into 3.5.x Aug 27, 2024
@WojciechMazur WojciechMazur deleted the 3.5.x-21243 branch August 27, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants