Prefer RLock over Lock in functions that don't need Lock().
Prefer RLock over Lock in functions that don't need Lock().

Updates #231

PiperOrigin-RevId: 325097683

google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor