summaryrefslogtreecommitdiff
path: root/memory
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-30 18:36:15 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-30 18:36:15 +0100
commitc1c0ca397d2175628f155eb615716a3143143e94 (patch)
tree708b32a97c971a51e113520c406357ac0f5e03e0 /memory
parenta7288b870d4aa72a393f4231d94a8171622c7866 (diff)
downloadaura-central-c1c0ca397d2175628f155eb615716a3143143e94.tar.gz
Issue mcp-graveyard/UXP%1307 - Part 6: Remove dead code behind PTHREAD_MMAP_UNALIGNED_TSD
Diffstat (limited to 'memory')
-rw-r--r--memory/mozjemalloc/jemalloc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c
index cef42e79f..d8c9a4c6e 100644
--- a/memory/mozjemalloc/jemalloc.c
+++ b/memory/mozjemalloc/jemalloc.c
@@ -5483,12 +5483,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.