JDK-8339505 : Enable parallel compilation of native code on macOS
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2024-09-03
  • Updated: 2024-09-20
  • Resolved: 2024-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx24 b08Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Description
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.
Comments
Changeset: 4647367c Branch: master Author: Johan Vos <jvos@openjdk.org> Date: 2024-09-04 12:07:18 +0000 URL: https://git.openjdk.org/jfx/commit/4647367ce4590440fbb85675055225c869502314
04-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1554 Date: 2024-09-02 07:20:50 +0000
03-09-2024