Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
7165:e1d42ba865de | 7177:53715fb1597d |
---|---|
3332 | 3332 |
3333 // Initialize the os module after parsing the args | 3333 // Initialize the os module after parsing the args |
3334 jint os_init_2_result = os::init_2(); | 3334 jint os_init_2_result = os::init_2(); |
3335 if (os_init_2_result != JNI_OK) return os_init_2_result; | 3335 if (os_init_2_result != JNI_OK) return os_init_2_result; |
3336 | 3336 |
3337 jint adjust_after_os_result = Arguments::adjust_after_os(); | |
3338 if (adjust_after_os_result != JNI_OK) return adjust_after_os_result; | |
3339 | |
3337 // intialize TLS | 3340 // intialize TLS |
3338 ThreadLocalStorage::init(); | 3341 ThreadLocalStorage::init(); |
3339 | 3342 |
3340 // Bootstrap native memory tracking, so it can start recording memory | 3343 // Bootstrap native memory tracking, so it can start recording memory |
3341 // activities before worker thread is started. This is the first phase | 3344 // activities before worker thread is started. This is the first phase |