Mercurial > hg > truffle
diff src/os/windows/vm/os_windows.cpp @ 462:85f1b9537f70
6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
Summary: In os::Linux::rebuild_cpu_to_node_map() fix the size of the CPU bitmap. Fixed arithmetic in MutableNUMASpace::adaptive_chunk_size() that could cause overflows and underflows of the chunk_size variable.
Reviewed-by: apetrusenko
author | iveresov |
---|---|
date | Wed, 03 Dec 2008 14:18:57 -0800 |
parents | ee21eaa8ffe1 |
children | 8724fb00c422 |
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp Mon Dec 01 23:25:24 2008 -0800 +++ b/src/os/windows/vm/os_windows.cpp Wed Dec 03 14:18:57 2008 -0800 @@ -3353,6 +3353,10 @@ // initialize thread priority policy prio_init(); + if (UseNUMA && !ForceNUMA) { + UseNUMA = false; // Currently unsupported. + } + return JNI_OK; }