< prev index next >

src/hotspot/os/linux/os_linux.cpp

Print this page
*** 5312,15 ***
      FLAG_SET_ERGO(UseNUMA, false);
      FLAG_SET_ERGO(UseNUMAInterleaving, false); // Also depends on libnuma.
    } else {
      if ((Linux::numa_max_node() < 1) || Linux::is_bound_to_single_node()) {
        // If there's only one node (they start from 0) or if the process
!       // is bound explicitly to a single node using membind, disable NUMA unless
!       // user explicilty forces NUMA optimizations on single-node/UMA systems
-       UseNUMA = ForceNUMA;
      } else {
- 
        LogTarget(Info,os) log;
        LogStream ls(log);
  
        Linux::set_configured_numa_policy(Linux::identify_numa_policy());
  
--- 5312,13 ---
      FLAG_SET_ERGO(UseNUMA, false);
      FLAG_SET_ERGO(UseNUMAInterleaving, false); // Also depends on libnuma.
    } else {
      if ((Linux::numa_max_node() < 1) || Linux::is_bound_to_single_node()) {
        // If there's only one node (they start from 0) or if the process
!       // is bound explicitly to a single node using membind, disable NUMA
!       UseNUMA = false;
      } else {
        LogTarget(Info,os) log;
        LogStream ls(log);
  
        Linux::set_configured_numa_policy(Linux::identify_numa_policy());
  
< prev index next >