Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261600

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 8, 11, 15, 16, 17
    • 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.

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

              Created:
              Updated:
              Resolved: