Skip to content

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

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

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

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: 971351666
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.

1 participant