protobuf: fix a data race in AbstractProtobufList
Unconditional update of isMutable causes data races for LazyStringArrayList::EMPTY_LIST that is used as the default value for protobuf fields. Not writing to it unconditionally may also improve performance by reducing contention for the presumably widely shared EMPTY_LIST object. PiperOrigin-RevId: 510366298
Loading
Please sign in to comment