mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +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
|
@ -3140,6 +3140,10 @@ jint os::init_2(void) {
|
|||
return JNI_ERR;
|
||||
}
|
||||
|
||||
// Not supported.
|
||||
FLAG_SET_ERGO(UseNUMA, false);
|
||||
FLAG_SET_ERGO(UseNUMAInterleaving, false);
|
||||
|
||||
if (MaxFDLimit) {
|
||||
// set the number of file descriptors to max. print out error
|
||||
// if getrlimit/setrlimit fails but continue regardless.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue