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

NMT: Remove MemTracker::get_virtual_memory_xxx_tracker(), create Tracker in place

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 11
    • 10
    • hotspot
    • b01

    Description

      Tracker is a stack object, its constructor/destructor locks/unlocks ThreadCritical, which is heavyweight lock.

      With above API, Tracker is constructed twice, which means performing one more unnecessary lock/unlock.

      Tracker should be constructed in place to avoid unnecessary lock/unlock.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: