PartitionAlloc: Constant initialize global bucket index lookup table
This CL gets rid of dynamic initialization of the bucket index lookup table and thereby avoids the data race that happens on reinitialization of the bucket index lookup table (when the malloc partition is being allocated from while another partition (e.g. wtf::) is being initialized). Change-Id: Ie7ceffec71862e1a5a95433e36b925b8a0122d03 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560625Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Benoit L <lizeb@chromium.org> Commit-Queue: Anton Bikineev <bikineev@chromium.org> Cr-Commit-Position: refs/heads/master@{#831236}
Showing
Please register or sign in to comment