Make 'committed' an immutable field of arrays.
Fix a case in ref initialization where refs would be created uncommitted and later updated to be committed. This change is a step towards fixing data races when multiple threads operate on an array concurrently. Reverts bbbfdcd954fdac03c80344329693d4c1cfd1b51f PiperOrigin-RevId: 972499788
J
jax authors committed
b1a91a165a279402b10e9f011cc7671def719ed6
Parent: c7792ef