DescriptionSwitch thread_local to use ThreadPlatformStorage in Android
It might not be good to switch thread_local to use ThreadPlatformStorage
on all platforms, in order to pass all tests in Linux, the number of TLS
slot has be 1024, it means 4k memory will be temporarily increased in stack,
and then move to heap for every thread which use the TLS.
Android only needs 256 slot which is much smaller than Linux's usage, and
TLS slot is currently only running out on Android's tests.
So this patch is only for Android platform.
BUG=264406
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269854
Patch Set 1 #Patch Set 2 : #Patch Set 3 : thread_local_android #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : sync #
Messages
Total messages: 23 (0 generated)
|