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: 510366298pull/11977/head
parent
d41deb9dc6
commit
6d776dfed5
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue