src/hotspot/share/runtime/arguments.cpp
changeset 59060 fce1fa1bdc91
parent 59053 ba6c248cae19
child 59070 22ee476cc664
equal deleted inserted replaced
59059:27a266d5fb13 59060:fce1fa1bdc91
  4217     } else if (UseParallelGC || UseParallelOldGC) {
  4217     } else if (UseParallelGC || UseParallelOldGC) {
  4218       if (FLAG_IS_DEFAULT(MinHeapDeltaBytes)) {
  4218       if (FLAG_IS_DEFAULT(MinHeapDeltaBytes)) {
  4219          FLAG_SET_DEFAULT(MinHeapDeltaBytes, 64*M);
  4219          FLAG_SET_DEFAULT(MinHeapDeltaBytes, 64*M);
  4220       }
  4220       }
  4221     }
  4221     }
  4222     // UseNUMAInterleaving is set to ON for all collectors and
  4222     // UseNUMAInterleaving is set to ON for all collectors and platforms when
  4223     // platforms when UseNUMA is set to ON. NUMA-aware collectors
  4223     // UseNUMA is set to ON. NUMA-aware collectors will interleave old gen and
  4224     // such as the parallel collector for Linux and Solaris will
  4224     // survivor spaces on top of NUMA allocation policy for the eden space.
  4225     // interleave old gen and survivor spaces on top of NUMA
  4225     // Non NUMA-aware collectors will interleave all of the heap spaces across
  4226     // allocation policy for the eden space.
  4226     // NUMA nodes.
  4227     // Non NUMA-aware collectors such as G1 and Serial-GC on
       
  4228     // all platforms and ParallelGC on Windows will interleave all
       
  4229     // of the heap spaces across NUMA nodes.
       
  4230     if (FLAG_IS_DEFAULT(UseNUMAInterleaving)) {
  4227     if (FLAG_IS_DEFAULT(UseNUMAInterleaving)) {
  4231       FLAG_SET_ERGO(UseNUMAInterleaving, true);
  4228       FLAG_SET_ERGO(UseNUMAInterleaving, true);
  4232     }
  4229     }
  4233   }
  4230   }
  4234   return JNI_OK;
  4231   return JNI_OK;