| Index: base/metrics/persistent_memory_allocator.h
|
| diff --git a/base/metrics/persistent_memory_allocator.h b/base/metrics/persistent_memory_allocator.h
|
| index b931b2f6b61add814a5a1ad3c4436fd3280758d1..b7e7bd08c3d20a0539e98e2ad436901378694947 100644
|
| --- a/base/metrics/persistent_memory_allocator.h
|
| +++ b/base/metrics/persistent_memory_allocator.h
|
| @@ -793,7 +793,8 @@ class BASE_EXPORT DelayedPersistentAllocation {
|
| // Once allocated, a reference to the segment will be stored at |ref|.
|
| // This shared location must be initialized to zero (0); it is checked
|
| // with every Get() request to see if the allocation has already been
|
| - // done.
|
| + // done. If reading |ref| outside of this object, be sure to do an
|
| + // "acquire" load. Don't write to it -- leave that to this object.
|
| //
|
| // For convenience, methods taking both Atomic32 and std::atomic<Reference>
|
| // are defined.
|
|
|