Skip to content

[mono][wasm] Add a 'wasm-gc-safepoints' option to enable the generati… - #70520

Merged
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:wasm-safe-point
Jun 10, 2022
Merged

[mono][wasm] Add a 'wasm-gc-safepoints' option to enable the generati…#70520
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:wasm-safe-point

Conversation

@vargaz

@vargaz vargaz commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

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

@ghost ghost added the area-VM-meta-mono label Jun 9, 2022
@vargaz
vargaz removed the request for review from SamMonoRT June 9, 2022 21:04
@ghost ghost assigned vargaz Jun 9, 2022
@vargaz
vargaz force-pushed the wasm-safe-point branch from 439c5bc to f42fd42 Compare June 9, 2022 21:26
@vargaz
vargaz requested a review from marek-safar as a code owner June 9, 2022 21:26
<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'" />

@lambdageek lambdageek Jun 9, 2022

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@vargaz

vargaz commented Jun 10, 2022

Copy link
Copy Markdown
Contributor Author

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