mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8243961: ForceNUMA and only one available NUMA node fails assertion on Windows
Improve ergnomics for UseNUMA and UseNUMAInterleaving Reviewed-by: tschatzl, sjohanss
This commit is contained in:
parent
317bd88e33
commit
7ae3bea212
6 changed files with 28 additions and 19 deletions
|
@ -4158,14 +4158,6 @@ jint Arguments::adjust_after_os() {
|
|||
FLAG_SET_DEFAULT(MinHeapDeltaBytes, 64*M);
|
||||
}
|
||||
}
|
||||
// UseNUMAInterleaving is set to ON for all collectors and platforms when
|
||||
// UseNUMA is set to ON. NUMA-aware collectors will interleave old gen and
|
||||
// survivor spaces on top of NUMA allocation policy for the eden space.
|
||||
// Non NUMA-aware collectors will interleave all of the heap spaces across
|
||||
// NUMA nodes.
|
||||
if (FLAG_IS_DEFAULT(UseNUMAInterleaving)) {
|
||||
FLAG_SET_ERGO(UseNUMAInterleaving, true);
|
||||
}
|
||||
}
|
||||
return JNI_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue