Skip to content

[wasm][debugger] Fix concurrent access to cache. - #59412

Merged
thaystg merged 3 commits into
dotnet:mainfrom
thaystg:thays_fix_cache_access_concurrent
Sep 22, 2021
Merged

[wasm][debugger] Fix concurrent access to cache.#59412
thaystg merged 3 commits into
dotnet:mainfrom
thaystg:thays_fix_cache_access_concurrent

Conversation

@thaystg

Copy link
Copy Markdown
Member

PropertiesBinaryReader could be access by more than one thread which was causing starting reading from the wrong position and skip positions.
Added a test case for it.
@lewing I would like to backport to rc2.

@ghost

Copy link
Copy Markdown

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

Issue Details

PropertiesBinaryReader could be access by more than one thread which was causing starting reading from the wrong position and skip positions.
Added a test case for it.
@lewing I would like to backport to rc2.

Author:thaystg
Assignees:-
Labels:

area-Debugger-mono

Milestone:-

@thaystg

Copy link
Copy Markdown
MemberAuthor

/backport to release/6.0-rc2

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/6.0-rc2: https://github.com/dotnet/runtime/actions/runs/1258807377

@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

PropertiesBinaryReader could be access by more than one thread which was causing starting reading from the wrong position and skip positions.
Added a test case for it.
@lewing I would like to backport to rc2.

Author:thaystg
Assignees:-
Labels:

arch-wasm, area-Debugger-mono

Milestone:-

Comment threadsrc/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs Outdated
Comment threadsrc/mono/wasm/debugger/DebuggerTestSuite/CustomViewTests.cs Outdated

@radicalradical left a comment

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.

LGTM!

@thaystg

Copy link
Copy Markdown
MemberAuthor

/backport to release/6.0-rc2

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/6.0-rc2: https://github.com/dotnet/runtime/actions/runs/1259023975

@thaystg
thaystg merged commit 22a1a61 into dotnet:mainSep 22, 2021
@ghostghost locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasmWebAssembly architecturearea-Debugger-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@thaystg@radical@lewing