Skip to content

Initialize tc_globals in max_per_cpu_cache_size getter and setter. - #1295

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_993949776
Oct 7, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_993949776

Conversation

@copybara-service

Copy link
Copy Markdown

Initialize tc_globals in max_per_cpu_cache_size getter and setter.

Ensure tc_globals.InitIfNecessary() is called before accessing
tc_globals.cpu_cache() in Parameters::max_per_cpu_cache_size() and
TCMalloc_Internal_SetMaxPerCpuCacheSize.

@copybara-service
copybara-service Bot force-pushed the test_993949776 branch 2 times, most recently from 7b42c24 to 09323cd Compare October 7, 2026 01:49
Ensure `tc_globals.InitIfNecessary()` is called before accessing
`tc_globals.cpu_cache()` in `Parameters::max_per_cpu_cache_size()` and
`TCMalloc_Internal_SetMaxPerCpuCacheSize`.

PiperOrigin-RevId: 994770021
@copybara-service
copybara-service Bot merged commit c540c6e into master Oct 7, 2026
15 checks passed
@copybara-service
copybara-service Bot deleted the test_993949776 branch October 7, 2026 02:05

This branch was successfully deployed

1 active deployment
github-pages — c540c6e1 Deployed Oct 7, 2026 by github-pages[bot] via deploy #2918
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