mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
7198334
: UseNUMA modifies system parameters on non-NUMA system
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
This commit is contained in:
parent
a054222634
commit
7e892709bd
3 changed files with 21 additions and 8 deletions
|
@ -3334,6 +3334,9 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
|
|||
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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue