Enable parallel compilation of native code on macOS

XMLWordPrintable

    • b08
    • os_x

        On macOS, we disable parallel compilation in build.gradle by forcing NUM_COMPILE_THREADS to 1.

        This was implemented by X in response to an macOS-only intermittent compilation failure in the native FontT2K code when compiling in parallel using gcc. I filed JDK-8089417 to track this failure, but while reviewing the PR for JDK-8339335 we determined that forcing NUM_COMPILE_THREADS to 1 was longer needed, so I closed JDK-8089417 as "Cannot reproduce".

        We now need to remove this workaround and enable parallel compilation on macOS by letting NUM_COMPILE_THREADS be set to the number of available processors as it is done on other platforms.

              Assignee:
              Johan Vos
              Reporter:
              Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: