Skip to content

Add TLS-based reentrancy check in an off state. - #1595

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1002025068
Nov 1, 2026
Merged

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

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Add TLS-based reentrancy check in an off state.

Allocator entry points (malloc/free/new/delete/realloc/sdallocx) must not be
reentered on the same thread (for example, from inside a MallocHook callback or
destructor invoked during allocation/deallocation). Introduce a thread-local
ReentrancyGuard in an off state (#if 0) along with unit tests and LongJmpScope
reentrancy-count cleanup while callers are cleaned up.

@copybara-service
copybara-service Bot force-pushed the test_1002025068 branch 8 times, most recently from 824e29e to 6281b38 Compare November 1, 2026 05:39
Allocator entry points (malloc/free/new/delete/realloc/sdallocx) must not be
reentered on the same thread (for example, from inside a MallocHook callback or
destructor invoked during allocation/deallocation). Introduce a thread-local
ReentrancyGuard in an off state (#if 0) along with unit tests and LongJmpScope
reentrancy-count cleanup while callers are cleaned up.

PiperOrigin-RevId: 1011450295
@copybara-service
copybara-service Bot merged commit 24d289b into master Nov 1, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_1002025068 branch November 1, 2026 05:43

This branch was successfully deployed

1 active deployment
github-pages — 24d289b6 Deployed Nov 1, 2026 by github-pages[bot] via deploy #3193
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