-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
Use thread-safe cache in thread_local_caching_allocator #6539
Use thread-safe cache in thread_local_caching_allocator #6539
Conversation
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
30370cb
to
5ed299c
Compare
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
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.
The remaining problems are unrelated. LGTM! Thanks!
libs/core/allocator_support/include/hpx/allocator_support/thread_local_caching_allocator.hpp
Outdated
Show resolved
Hide resolved
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
@Pansysk75 we still have the circular dependency between the concurrency and allocator modules. Also, some of the header tests are failing (most likely caused by the circular dependency issue) |
Hmm I suppose that means the Oh, also, we should probably make all accesses to members of I opened an issue #6540 to document this. |
The concurrency module is higher up in the hierarchy, see: https://hpx-docs.stellar-group.org/latest/report/v1.10.0/core/allocator_support.html
Yes, the
Thanks! |
459cf67
to
bd454ff
Compare
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
bd454ff
to
f8d92b0
Compare
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
@Pansysk75 I think this is good to go as a stop-gap measure circumventing the underlying problem from happening. What do you think? |
Sure, one last thing, why is this check implemented like that? Our underlying data structure has a .size() member function, is it any different to use that? hpx/libs/core/allocator_support/include/hpx/allocator_support/thread_local_caching_allocator.hpp Lines 95 to 104 in f8d92b0
|
fc10910
to
a3e95e9
Compare
libs/core/allocator_support/include/hpx/allocator_support/thread_local_caching_allocator.hpp
Fixed
Show fixed
Hide fixed
73abaa9
to
6478b44
Compare
libs/core/allocator_support/include/hpx/allocator_support/thread_local_caching_allocator.hpp
Fixed
Show fixed
Hide fixed
5e3c656
to
e12bc1c
Compare
e12bc1c
to
64988ae
Compare
This reverts commit 64988ae.
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
@Pansysk75 the original issues are resolved here. Let's merge it now. |
No description provided.