Description
Currently, MemoryCounter is updated with default memory_order_conservative, it is too strong for updating a counter.
Also, updating peak values with regular assignment, which is racy and broken.
Also, updating peak values with regular assignment, which is racy and broken.