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

TestParallelRefProc fails on single core machines

    XMLWordPrintable

Details

    • gc
    • b33

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                cgo Christoph Göttschkes
                cgo Christoph Göttschkes
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: