Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/thread.cpp @ 7177:53715fb1597d
7198334: UseNUMA modifies system parameters on non-NUMA system
Summary: The flags MinHeapDeltaBytes and UseNUMAInterleaving must be adjusted after the OS have adjusted the UseNUMA flag in the method os::init_2.
Reviewed-by: dholmes, brutisso
Contributed-by: erik.helin@oracle.com
author | brutisso |
---|---|
date | Tue, 20 Nov 2012 11:40:11 +0100 |
parents | 80e866b1d053 |
children | d0aa87f04bd5 |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Fri Nov 16 09:43:43 2012 -0800 +++ b/src/share/vm/runtime/thread.cpp Tue Nov 20 11:40:11 2012 +0100 @@ -3334,6 +3334,9 @@ jint os_init_2_result = os::init_2(); if (os_init_2_result != JNI_OK) return os_init_2_result; + jint adjust_after_os_result = Arguments::adjust_after_os(); + if (adjust_after_os_result != JNI_OK) return adjust_after_os_result; + // intialize TLS ThreadLocalStorage::init();