summaryrefslogtreecommitdiffstats
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
commit3b361d83096b50b4d7e22fa0561d000cdfe82bfa (patch)
tree708b32a97c971a51e113520c406357ac0f5e03e0 /memory
parent90508a4648f6103bc5a5b6df2f67e8bddc6fbb47 (diff)
downloadUXP-3b361d83096b50b4d7e22fa0561d000cdfe82bfa.tar
UXP-3b361d83096b50b4d7e22fa0561d000cdfe82bfa.tar.gz
UXP-3b361d83096b50b4d7e22fa0561d000cdfe82bfa.tar.lz
UXP-3b361d83096b50b4d7e22fa0561d000cdfe82bfa.tar.xz
UXP-3b361d83096b50b4d7e22fa0561d000cdfe82bfa.zip
Issue #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.