Skip to content

fix: always print malloc sample info regardless of FATAL_ERROR_HANG m…#137

Merged
LINxiansheng merged 1 commit intooceanbase:developfrom
Zhangg7723:fix/issue-13-print-malloc-sample-info
Jan 31, 2026
Merged

fix: always print malloc sample info regardless of FATAL_ERROR_HANG m…#137
LINxiansheng merged 1 commit intooceanbase:developfrom
Zhangg7723:fix/issue-13-print-malloc-sample-info

Conversation

@Zhangg7723
Copy link
Copy Markdown
Contributor

…acro

Remove the FATAL_ERROR_HANG macro guard around print_malloc_sample_info() so that memory allocation statistics are always printed. The overhead is very light and this information is useful for debugging.

Fixes #13

Task Description

Solution Description

Passed Regressions

Upgrade Compatibility

Other Information

Release Note

…acro

Remove the FATAL_ERROR_HANG macro guard around print_malloc_sample_info()
so that memory allocation statistics are always printed. The overhead is
very light and this information is useful for debugging.

Fixes oceanbase#13
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


obcloud-buc seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown
Member

@LINxiansheng LINxiansheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LINxiansheng LINxiansheng merged commit f774844 into oceanbase:develop Jan 31, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

We should always print the statistic information of memory allocation

3 participants