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

NMT: make ReservedMemoryRegion(address, size_t) a private ctor to avoid improper external usage

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      ReservedMemoryRegion(address, size_t) is used for finding a pair of address-size in reserved regions. The MEMFLAGS of the region is not taken into account in the search. Since, MEMFLAGS is mandatory for MemTracker API (after JDK-8330076), this ctor is safer to be a private member to make it inaccessible from external classes.

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

              Created:
              Updated:
              Resolved: