Skip to content

Make TCMalloc sampled allocation madvise logic less aggressive. - #612

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_973962724
Draft

Make TCMalloc sampled allocation madvise logic less aggressive.#612
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_973962724

Conversation

@copybara-service

Copy link
Copy Markdown

Make TCMalloc sampled allocation madvise logic less aggressive.

For allocations no larger than a hardware page, we can skip them entirely. Heap profiling only examines the allocated size of the object, not the full span.

For allocations no larger than a hardware page, we can skip them entirely.  Heap profiling only examines the allocated size of the object, not the full span.

PiperOrigin-RevId: 973962724
@google-cla

google-cla Bot commented Aug 31, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

0 participants