Skip to content

[release/6.0-rc2] [mono][wasm] Rework the handling of GC references in AOTed code. - #59397

Closed
github-actions[bot] wants to merge 1 commit into
release/6.0-rc2from
backport/pr-59352-to-release/6.0-rc2
Closed

[release/6.0-rc2] [mono][wasm] Rework the handling of GC references in AOTed code.#59397
github-actions[bot] wants to merge 1 commit into
release/6.0-rc2from
backport/pr-59352-to-release/6.0-rc2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #59352 to release/6.0-rc2

/cc @radical@vargaz

Customer Impact

Testing

Risk

Previously, variables holding GC refs were marked volatile so they
were loaded/stored to the C stack on every access. Since the stack
is conservatively scanned, all the objects pointed to by it are pinned,
so there is no need to load them on every access. Instead of
marking them as volatile, allocate a 'gc pinning' area on the stack,
and store ref variables to it after they are assigned. This improves
code size and performance.
@radicalradical added the arch-wasm WebAssembly architecture label Sep 21, 2021
@ghost

Copy link
Copy Markdown

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #59352 to release/6.0-rc2

/cc @radical@vargaz

Customer Impact

Testing

Risk

Author:github-actions[bot]
Assignees:-
Labels:

arch-wasm, area-Codegen-LLVM-mono

Milestone:-

@Anipik

Copy link
Copy Markdown
Contributor

@marek-safar should we re-target this to 6.0 or is it blocking for rc2 ?

@lambdageek

Copy link
Copy Markdown
Member

@lewing ^ ?

@lewing

Copy link
Copy Markdown
Member

this definitely doesn't meet the rc2 bar at this point, it might be worth it for rtm but there is risk.

@lewinglewing closed this Sep 27, 2021
@akoeplinger
akoeplinger deleted the backport/pr-59352-to-release/6.0-rc2 branch October 7, 2021 18:39
@ghostghost locked as resolved and limited conversation to collaborators Nov 6, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasmWebAssembly architecturearea-Codegen-LLVM-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Anipik@lambdageek@lewing@radical@vargaz