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

Avoid multiple search of reserved regions during splitting

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: