aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2019-02-14 14:55:30 -0800
committerDan Albert <danalbert@google.com>2019-02-14 14:55:30 -0800
commit347192e6aab661ceb66dfdeef2924a86a4d8c7b7 (patch)
treeb575df0dc4f4fa46a6f56fa066e2f03ba2420278
parentab33b153b48355359334ac1cd4f61f6ebb783b54 (diff)
downloadplatform_external_jemalloc_new-347192e6aab661ceb66dfdeef2924a86a4d8c7b7.tar.gz
platform_external_jemalloc_new-347192e6aab661ceb66dfdeef2924a86a4d8c7b7.tar.bz2
platform_external_jemalloc_new-347192e6aab661ceb66dfdeef2924a86a4d8c7b7.zip
Don't compile background thread support.android-q-preview-1
We don't currently use this and it causes libc.a to have a dependency on libdl because it interposes pthread_create with dlsym. Test: treehugger Bug: None Change-Id: I259ed5eb8e72045430aee90df1124c1906512fcd
-rw-r--r--include/jemalloc/internal/jemalloc_internal_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h b/include/jemalloc/internal/jemalloc_internal_defs.h
index c76953ad..052bd11c 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h
@@ -372,7 +372,7 @@
/*
* If defined, all the features necessary for background threads are present.
*/
-#define JEMALLOC_BACKGROUND_THREAD 1
+/* #undef JEMALLOC_BACKGROUND_THREAD */
/*
* If defined, jemalloc symbols are not exported (doesn't work when