-
Notifications
You must be signed in to change notification settings - Fork 648
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
Add mutex stress test #2472
Merged
wenyongh
merged 1 commit into
bytecodealliance:main
from
Zzzabiyaka:makslit/mutex_stress_test
Aug 30, 2023
Merged
Add mutex stress test #2472
wenyongh
merged 1 commit into
bytecodealliance:main
from
Zzzabiyaka:makslit/mutex_stress_test
Aug 30, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bd55f8d
to
c6d48bf
Compare
c6d48bf
to
506d2e5
Compare
796603d
to
9538d42
Compare
7edf4b2
to
de50d6e
Compare
loganek
requested changes
Aug 22, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
g0djan
reviewed
Aug 22, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
de50d6e
to
f03f42c
Compare
loganek
reviewed
Aug 22, 2023
248e53a
to
d78628c
Compare
loganek
reviewed
Aug 24, 2023
loganek
reviewed
Aug 24, 2023
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/errorcheck_mutex_stress_test.c
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/errorcheck_mutex_stress_test.c
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
7cfe87a
to
bc0bdf7
Compare
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
loganek
reviewed
Aug 24, 2023
core/iwasm/libraries/lib-wasi-threads/stress_test/mutex_common.h
Outdated
Show resolved
Hide resolved
3098b47
to
08adea1
Compare
loganek
approved these changes
Aug 24, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
wenyongh
reviewed
Aug 25, 2023
4e4c64e
to
9e13126
Compare
wenyongh
reviewed
Aug 30, 2023
LGTM |
9e13126
to
a108d58
Compare
victoryang00
pushed a commit
to victoryang00/wamr-aot-gc-checkpoint-restore
that referenced
this pull request
May 27, 2024
As a part of stress-testing we want to ensure that mutex implementation is working correctly and protecting shared resource to be allocated from other threads when mutex is locked. This test covers the most common situations that happen when some program uses mutexes like locks from various threads, locks from the same thread etc.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
as a part of stress-testing we want to ensure that mutex implementation is working correctly and protecting shared resource to be allocated from other threads when mutex is locked.
This test covers the most common situations that happen when some program uses mutexes like locks from various threads, locks from the same thread etc
If you have any other cases that left uncovered please mention them in the comments
cc @loganek @g0djan @eloparco