Hi.
I think I found a bug:
array := {10. 20}.
array beReadOnlyObject .
array pinInMemory.
array at: 1 put: 3. "=> succeed"
Looks like pinning object resets write barrier.
Interesting that unpinning readonly object works properly:
array beReadOnlyObject.
array unpinInMemory.
array at: 1 put: 3. "=> fails"