diff options
author | Ryan Prichard <rprichard@google.com> | 2018-05-09 15:37:24 -0700 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2018-05-21 23:03:29 -0700 |
commit | 81788f3d99d2c5952fa9a6d673e8d6a53b76d511 (patch) | |
tree | 3e862c668a71a00e479fc9facb6c8f54ed1848f5 /gcc-4.9/libgo/go/sync/mutex_test.go | |
parent | ac6128e0a17a52f011797f33ac3e7d6273a9368d (diff) | |
download | toolchain_gcc-81788f3d99d2c5952fa9a6d673e8d6a53b76d511.tar.gz toolchain_gcc-81788f3d99d2c5952fa9a6d673e8d6a53b76d511.tar.bz2 toolchain_gcc-81788f3d99d2c5952fa9a6d673e8d6a53b76d511.zip |
Delay emutls deallocation for one round
With Android/Bionic, delay deallocation to round 2 of 4. It must run after
C++ thread_local destructors have been called, but before the final 2
rounds, because emutls calls free, and jemalloc then needs another 2
rounds to free its thread-specific data.
Bug: https://github.com/android-ndk/ndk/issues/687
Bug: b/78022094
Test: manual
Test: ./run_tests.py --rebuild --filter emutls-dealloc
Change-Id: I01bd634d97b7d22161b5cc8ca71b3cb94064a03e
Diffstat (limited to 'gcc-4.9/libgo/go/sync/mutex_test.go')
0 files changed, 0 insertions, 0 deletions