RFR: 8331539: [REDO] NMT: add/make a mandatory MEMFLAGS argument to family of os::reserve/commit/uncommit memory API [v2]
Afshin Zafari
azafari at openjdk.org
Fri May 24 10:17:03 UTC 2024
On Fri, 24 May 2024 09:03:07 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Thank you for the in-depth explanation, I think I understand it. What was the fix for this issue?
As can be seen in `os_posix.cpp::chop_extra_memory`, the exceptional case (of releasing sub regions due to extra memory) is notified to `MemTracker` for handling it. The optional `bool extra_memory` arg of `MemTracker::record_virtual_memory_release()` is used for addressing the case.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19343#issuecomment-2129155345
More information about the shenandoah-dev
mailing list