To avoid "scribbling" where several threads change state within in a single method (typically in inconsistent ways, causing subtle and intermittent errors) we use the following access policy for message related objects:
In practice this means that objects are initially mutable, but become immutable once they are shared.
|
|
|
|