-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mono][aot] Add a 'compile-in-child' AOT argument #98866
Conversation
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
1b33ed8
to
997d955
Compare
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-wasm,runtime-ioslike |
Azure Pipelines successfully started running 2 pipeline(s). |
Failures are unrelated. |
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.
* [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.
No description provided.