Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8243971

Deprecate -XX:ForceNUMA option

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      low
    • Compatibility Risk Description:
      Hide
      Using -XX:+UseNUMA -XX:+ForceNUMA on Windows on non-NUMA hardware has failed an assertion for a long time. In a product build that would instead be a divide by zero. Also, the Windows implementation support for UseNUMA is a stub.

      A web search for "ForceNUMA" finds the usual lists of VM options. In addition, there are some old references like this one:
      https://www.oracle.com/technetwork/server-storage/hardware-solutions/o11-102-oos-webcenter-505718.pdf
      Show
      Using -XX:+UseNUMA -XX:+ForceNUMA on Windows on non-NUMA hardware has failed an assertion for a long time. In a product build that would instead be a divide by zero. Also, the Windows implementation support for UseNUMA is a stub. A web search for "ForceNUMA" finds the usual lists of VM options. In addition, there are some old references like this one: https://www.oracle.com/technetwork/server-storage/hardware-solutions/o11-102-oos-webcenter-505718.pdf
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      Description

      Summary

      Deprecate the VM product option ForceNUMA.

      Problem

      The ForceNUMA option was added as part of the initial NUMA support (JDK-6779436). It provides a mechanism for forcing NUMA code paths to be used even if the execution hardware is single-node/UMA. There is no benefit from that behavior for end-users. That behavior is only useful for developers testing changes to the NUMA support code in the absence of NUMA hardware. And in that case there are better alternatives, based on virtualization, to have the appearance of NUMA hardware.

      Solution

      Deprecate the ForceNUMA option in JDK 15, and either make it a development option or obsolete it in JDK 16.

      Specification

      Use of -XX:+/-ForceNUMA will generate the usual warning for a deprecated VM option.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbarrett Kim Barrett
              Reporter:
              kbarrett Kim Barrett
              Reviewed By:
              Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: