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

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 8, 11, 15, 16, 17
    • hotspot
    • b11

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: