Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ENH: Disable the alloc cache under address and memory sanitizers#29006

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
charris merged 1 commit intonumpy:mainfromhawkinsp:asan
May 19, 2025

Conversation

hawkinsp
Copy link
Contributor

We've been carrying a variant of this patch in our local copy of NumPy for some time.

The alloc cache reduces the effectiveness of use-after-free or use-of-uninitialized memory warnings because caching of allocations means they may be reused for a different allocation, potentially hiding real problems.

We've been carrying a variant of this patch in our local copy of NumPyfor some time. The alloc cache reduces the effectiveness ofuse-after-free or use-of-uninitialized memory warnings because cachingof allocations means they may be reused for a different allocation,potentially hiding real problems.
@charris
Copy link
Member

Seems reasonable to me.@ngoldbaum Thoughts?

@ngoldbaum
Copy link
Member

Seems reasonable to me as well.

@charrischarris merged commit0506cf6 intonumpy:mainMay 19, 2025
74 checks passed
@charris
Copy link
Member

Thanks@hawkinsp .

seberg added a commit to seberg/numpy that referenced this pull requestMay 23, 2025
numpygh-29006 got the branching wrong leaving the cache undefined on mostGCC/clang, which means we wouldn't use it.Also move it up so that we can just remove the unused globals entirely.
seberg added a commit to seberg/numpy that referenced this pull requestMay 23, 2025
numpygh-29006 got the branching wrong leaving the cache undefined on mostGCC/clang, which means we wouldn't use it.Also move it up so that we can just remove the unused globals entirely.
charris pushed a commit to charris/numpy that referenced this pull requestMay 23, 2025
numpygh-29006 got the branching wrong leaving the cache undefined on mostGCC/clang, which means we wouldn't use it.Also move it up so that we can just remove the unused globals entirely.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@hawkinsp@charris@ngoldbaum

[8]ページ先頭

©2009-2025 Movatter.jp