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.
NMT: make ReservedMemoryRegion(address, size_t) a private ctor to avoid improper external usage
-
Afshin Zafari
-
Afshin Zafari
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: