EASTL icon indicating copy to clipboard operation
EASTL copied to clipboard

fix TSAN warnings about on clearing empty hashtables

Open virt00l opened this issue 11 months ago • 0 comments

Different empty instances of hashtable (hast_map, hash_set...) are all pointing to the same global memory region gpEmptyBucketArray. Rewrite hashtable<>::DoFreeNodes in such way to avoid writing into said memory.

Caught by ThreadSanitizer on clear'ing different (but empty) hashtable instances

virt00l avatar Feb 04 '25 13:02 virt00l