NMT: Relax memory order for updating MemoryCounter and fix racy updating of peak values

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 8, 11, 15, 16, 17
    • Component/s: hotspot
    • b11

      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.

            Assignee:
            Zhengyu Gu
            Reporter:
            Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: