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
commit 62e392725c

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.