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

Avoid multiple search of reserved regions during splitting

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 23
    • None
    • hotspot
    • b12

    Description

      CDS uses MemTracker::record_virtual_memory_split_reserved() to split a reserved area into two parts. Later in two separate calls of MemTracker::record_virtual_memory_type()
      the flags of the parts are set appropriately. Since each call to MemTracker::record_virtual_memory_type() requires NMT to search through all the reserved regions, we can save these two calls by passing the flags in the split call.

      Attachments

        Issue Links

          Activity

            People

              azafari Afshin Zafari
              azafari Afshin Zafari
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: