Skip to content
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][wasm] Add a 'wasm-gc-safepoints' option to enable the generati… #70520

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Jun 9, 2022

…on of GC safe points in AOTed code on WASM.

@vargaz vargaz removed the request for review from SamMonoRT June 9, 2022 21:04
@ghost ghost assigned vargaz Jun 9, 2022
@@ -531,6 +531,7 @@
<MonoAOTCompilerDefaultAotArguments Include="deterministic" />
<MonoAOTCompilerDefaultAotArguments Include="mattr=simd" Condition="'$(WasmSIMD)' == 'true'" />
<MonoAOTCompilerDefaultProcessArguments Include="--wasm-exceptions" Condition="'$(WasmExceptionHandling)' == 'true'" />
<MonoAOTCompilerDefaultProcessArguments Include="--wasm-gc-safepoints" Condition="'$(WasmEnableThreads)' == 'true' or '$(WasmEnablePerfTracing)' == 'true'" />
Copy link
Member

@lambdageek lambdageek Jun 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually what do we want this to do:

  • pick up the flag from how build.sh --os browser was running?
  • or pick up the property from what the user app build is doing?

I think right now it's from whatever the user passes when doing the app build.
I think that's probably what we want.

@lambdageek
Copy link
Member

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Jun 10, 2022

Failures are unrelated.

@vargaz vargaz merged commit b2add49 into dotnet:main Jun 10, 2022
@vargaz vargaz deleted the wasm-safe-point branch June 10, 2022 01:39
@ghost ghost locked as resolved and limited conversation to collaborators Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants