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

Shenandoah forces +UseNUMAInterleaving even after explicitly disabled

XMLWordPrintable

    • gc
    • b13
    • x86_64
    • linux

        ADDITIONAL SYSTEM INFORMATION :
        Version:
        openjdk 12.0.2 2019-07-16
        OpenJDK Runtime Environment AdoptOpenJDK (build 12.0.2+10)
        OpenJDK 64-Bit Server VM AdoptOpenJDK (build 12.0.2+10, mixed mode, sharing)

        Centos/7
        Kernel: 3.10.0-862.14.4.el7.x86_64

        A DESCRIPTION OF THE PROBLEM :
        If Shenandoah is turned on with the command line parameters

           -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC

        then NUMAInterleaving is forced on, even if it is explicitly turned off with

           -XX:-UseNUMAInterleaving

        To reproduce, run

            java -XX:+PrintFlagsFinal -XX:-UseNUMAInterleaving -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC --version | grep UseNUMAInterleaving
           
        You should see the following output:

            bool UseNUMAInterleaving = true {product} {command line}



        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        run the following command:

            java -XX:+PrintFlagsFinal -XX:-UseNUMAInterleaving -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC --version | grep UseNUMAInterleaving
           

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        bool UseNUMAInterleaving = false {product} {command line}
        ACTUAL -
         bool UseNUMAInterleaving = true {product} {command line}

        CUSTOMER SUBMITTED WORKAROUND :
        Disable Shenandoah GC

        FREQUENCY : always


              shade Aleksey Shipilev
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: