Skip to content

[wasm] Fixes for issue #108519 - #108543

Merged
kg merged 2 commits into
dotnet:mainfrom
kg:jiterp-tlqueue-fix
Oct 8, 2024
Merged

kg merged 2 commits into
dotnet:mainfrom
kg:jiterp-tlqueue-fix

Conversation

@kg

@kg kg commented Oct 4, 2024 •

Copy link
Copy Markdown
Contributor

Contributes to #108519

@kg kg added the arch-wasm WebAssembly architecture label Oct 4, 2024
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @BrzVlad, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

@kg

kg commented Oct 5, 2024

Copy link
Copy Markdown
Contributor Author

cc @pavelsavara

@pavelsavara pavelsavara added the os-browser Browser variant of arch-wasm label Oct 5, 2024
@pavelsavara

Copy link
Copy Markdown
Member

this will need Net9 backport

Comment thread src/mono/mono/mini/interp/jiterpreter.c Resolved
if ((result = (GPtrArray *)mono_native_tls_get_value (key)) == NULL) {
g_assert (mono_native_tls_set_value (key, result = g_ptr_array_new ()));
mono_os_mutex_lock (&queue_mutex);
// WARNING: Ensure we do not call into the runtime or JS while holding this mutex!

@dlemstra dlemstra Oct 7, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a tiny style comment. In the rest of the code this comment is after the mono_os_mutex_lock call.

p.s. For me this way is more clear...

@kg

kg commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

/ba-g CI stuck

@kg
kg merged commit 7cbd86c into dotnet:main Oct 8, 2024
sirntar pushed a commit to sirntar/runtime that referenced this pull request Oct 8, 2024
@kg

kg commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

/backport to release/9.0

@github-actions

github-actions Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

@kg an error occurred while backporting to release/9.0, please check the run log for details!

Error: @kg is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your dotnet team membership visibility is set to Public on https://github.com/orgs/dotnet/people?query=kg

@kg

kg commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

/backport to release/9.0

@github-actions

github-actions Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

@dlemstra

dlemstra commented Oct 9, 2024

Copy link
Copy Markdown
Contributor

Thanks for the quick fix!

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants