Mercurial > hg > truffle
diff src/os/solaris/vm/os_solaris.cpp @ 141:fcbfc50865ab
6684395: Port NUMA-aware allocator to linux
Summary: NUMA-aware allocator port to Linux
Reviewed-by: jmasa, apetrusenko
author | iveresov |
---|---|
date | Tue, 29 Apr 2008 13:51:26 +0400 |
parents | b97de546208e |
children | e3729351c946 |
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp Wed Apr 16 12:58:03 2008 +0400 +++ b/src/os/solaris/vm/os_solaris.cpp Tue Apr 29 13:51:26 2008 +0400 @@ -2602,7 +2602,7 @@ } // Tell the OS to make the range local to the first-touching LWP -void os::numa_make_local(char *addr, size_t bytes) { +void os::numa_make_local(char *addr, size_t bytes, int lgrp_hint) { assert((intptr_t)addr % os::vm_page_size() == 0, "Address should be page-aligned."); if (madvise(addr, bytes, MADV_ACCESS_LWP) < 0) { debug_only(warning("MADV_ACCESS_LWP failed."));