提交 28649088 编写于 作者: I iveresov

7060842: UseNUMA crash with UseHugreTLBFS running SPECjvm2008

Summary: Use mmap() instead of madvise(MADV_DONTNEED) to uncommit pages
Reviewed-by: ysr
上级 ab994026
......@@ -2534,7 +2534,7 @@ void os::realign_memory(char *addr, size_t bytes, size_t alignment_hint) {
}
void os::free_memory(char *addr, size_t bytes) {
::madvise(addr, bytes, MADV_DONTNEED);
commit_memory(addr, bytes, false);
}
void os::numa_make_global(char *addr, size_t bytes) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册