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

MemBaseline accesses VMT without using lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 26
    • hotspot
    • b15

      Two instances of this occur.

      memBaseline.cpp:164
        if (!VirtualMemoryTracker::Instance::walk_virtual_memory(&virtual_memory_walker)) {
          return false;
        }

      memBaseline.cpp:219
      site->commit_memory(VirtualMemoryTracker::Instance::committed_size(rgn));

      This needs to grab the NMTVirtualMemoryLock.

            jsjolen Johan Sjölen
            jsjolen Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: