1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-29 16:58:28 +00:00

Issue #1307 - Part 6: Remove dead code behind PTHREAD_MMAP_UNALIGNED_TSD

This commit is contained in:
wolfbeast
2019-11-30 18:36:15 +01:00
committed by Roy Tam
parent 8cd5f01ad5
commit 62e392725c
-6
View File
@@ -5488,12 +5488,6 @@ MALLOC_OUT:
pthread_atfork(_malloc_prefork, _malloc_postfork, _malloc_postfork);
#endif
#if defined(NEEDS_PTHREAD_MMAP_UNALIGNED_TSD)
if (pthread_key_create(&mmap_unaligned_tsd, NULL) != 0) {
malloc_printf("<jemalloc>: Error in pthread_key_create()\n");
}
#endif
#if defined(MOZ_MEMORY_DARWIN) && !defined(MOZ_REPLACE_MALLOC)
/*
* Overwrite the default memory allocator to use jemalloc everywhere.