[mono][aot] Add a 'compile-in-child' AOT argument#98866
Merged
vargaz merged 11 commits intodotnet:mainfrom Mar 5, 2024
Merged
Conversation
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
1b33ed8 to
997d955
Compare
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
This was referenced Feb 25, 2024
|
Azure Pipelines successfully started running 2 pipeline(s). |
akoeplinger
reviewed
Mar 1, 2024
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run runtime-wasm,runtime-ioslike |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
Failures are unrelated. |
steveisok
approved these changes
Mar 2, 2024
Contributor
Author
|
Enabling this on wasm on windows causes test failures, but the linux version seems to work. |
When set, the JIT compilation is done in a child process. This helps to reduce overall memory usage since memory used during JITting is no longer going to be reserved when running external tools like opt/llc.
radical
pushed a commit
to radical/runtime
that referenced
this pull request
Mar 6, 2024
* [mono][aot] Collect command line arguments and pass them to the aot compiler. * [mono][aot] Extract the code invoking external tools into separate functions. * [mono][aot] Add a 'compile-in-child' aot argument. When set, the JIT compilation is done in a child process. This helps to reduce overall memory usage since memory used during JITting is no longer going to be reserved when running external tools like opt/llc. * Enable by default on wasm on unix. * Handle spaces correctly. * Disable on windows for now. * Add dedup support. * Add windows support. * Enable on wasm on windows. * Fix windows support. * Disable on windows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When set, the JIT compilation is done in a child process. This helps to reduce overall memory usage since memory used during JITting is no longer going to be reserved when running external tools like opt/llc.