JDK-8339335 : set number of parallel jobs when building webkit
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-30
  • Updated: 2024-09-05
  • 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 :  
Description
When building webkit, the perl script that manages the build will pass `-j numberOfCPUs()` to cmake.
Since many modern systems have a relative large number of CPU's compared to the amount of memory, this leads to many parallel processes running c++ compiler jobs. This often results in memory issues when building (and even system freezes).

We could use NUM_COMPILE_THREADS for this, and pass that value to cmake in case it is set.
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
02-09-2024