Skip to content
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

malloc, fileservice: port main branch changes to 1.2-dev #17065

Merged
merged 6 commits into from
Jun 21, 2024

Conversation

reusee
Copy link
Contributor

@reusee reusee commented Jun 21, 2024

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #15479

What this PR does / why we need it:

malloc improvements

@reusee reusee requested a review from zhangxu19830126 as a code owner June 21, 2024 06:02
@matrix-meow matrix-meow added the size/XL Denotes a PR that changes [1000, 1999] lines label Jun 21, 2024
@mergify mergify bot requested a review from sukki37 June 21, 2024 06:03
@reusee reusee requested a review from LeftHandCold as a code owner June 21, 2024 06:31
reusee added 4 commits June 21, 2024 19:04
malloc: add checked allocator

malloc: wrap checked allocator in default allocator

malloc: add hints

malloc: remove checked deallocator

malloc: add DoNotReuse hint to checked deallocator

malloc: add stack info to checked allocator

malloc: more tests for check allocator

malloc: add allocator config

malloc: check double free before calling upstream in CheckedAllocator deallocation

malloc: do not use default allocator in tests to avoid dependency loop

malloc: fix stacktrace

malloc: more detail infos for checked allocator panic messages

malloc: show pointer address in checked allocator panic messages

malloc: show allocated size in checked allocator panic messages

malloc: fix checked allocator finalizer

fileservice: add fuzzFS

fileservice: refine TestFuzzingDiskS3

malloc: add NoClear hint

malloc: refine ClassAllocator tests

malloc: add FixedSizeAllocator

malloc: add FixedSizeSyncPoolAllocator

malloc: use fixedSizeSyncPoolAllocator as go allocator by default

fileservice: fix missing release in tests
@reusee reusee changed the title malloc: various changes and optimizations malloc, fileservice: port main branch changes to 1.2-dev Jun 21, 2024
@mergify mergify bot merged commit 0c14e54 into matrixorigin:1.2-dev Jun 21, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement size/XL Denotes a PR that changes [1000, 1999] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants