Skip to content

Conversation

@graalvmbot
Copy link
Collaborator

This PR changes the Native Image builder so that it uses the common pool for class loading, analysis, and compilation tasks. Previously, individual ForkJoinPools were used, which in turn used different thread limits. Using the common pool makes this more uniform (default limit is set to 32 threads) and allows some cleanups. It also made it easier for us to allow --parallelism=1 (single-threaded mode), which can be useful for debugging purposes, because the common pool can be disabled.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 24, 2023
@graalvmbot graalvmbot force-pushed the fniephaus/GR-48230/forkjoin-pools branch from 2b6ef6d to 72876c8 Compare October 25, 2023 15:19
@graalvmbot graalvmbot merged commit fe2bdb1 into master Oct 26, 2023
@graalvmbot graalvmbot deleted the fniephaus/GR-48230/forkjoin-pools branch October 26, 2023 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants