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

TestParallelRefProc fails on single core machines

XMLWordPrintable

    • gc
    • b33

        The test case TestParallelRefProc fails on single core machines, since it expects that ParallelRefProcEnabled is always true if the ParallelGC is used:

        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: [-XX:+UseParallelGC] didn't set ParallelRefProcEnabled to true as expected

        According to the code, ParallelRefProcEnabled is only enabled if there are more than 1 ParallelGCThreads. Ergonomics never configure more parallel GC threads than there are CPU cores.

              cgo Christoph Göttschkes (Inactive)
              cgo Christoph Göttschkes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: