diff options
| author | David Goldblatt <davidgoldblatt@fb.com> | 2018-04-17 12:52:22 -0700 |
|---|---|---|
| committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2018-04-17 19:22:01 -0700 |
| commit | a62e42baebe09dc84aaff731faa6ff87fde6bc4e (patch) | |
| tree | 4b5f2e297f94b95dc006add9b1d01b4753325ae5 /INSTALL.md | |
| parent | e40b2f75bdfc830a9a53b2cad4fb7261d39cec93 (diff) | |
| download | platform_external_jemalloc_new-a62e42baebe09dc84aaff731faa6ff87fde6bc4e.tar.gz platform_external_jemalloc_new-a62e42baebe09dc84aaff731faa6ff87fde6bc4e.tar.bz2 platform_external_jemalloc_new-a62e42baebe09dc84aaff731faa6ff87fde6bc4e.zip | |
Add the --disable-initial-exec-tls configure option.
Right now we always make our TLS use the initial-exec model if the compiler
supports it. This change allows configure-time disabling of this setting, which
can be helpful when dynamically loading jemalloc is the only option.
Diffstat (limited to 'INSTALL.md')
| -rw-r--r-- | INSTALL.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -265,6 +265,15 @@ any of the following arguments (not a definitive list) to 'configure': configuration, jemalloc will provide additional size classes that are not 16-byte-aligned (24, 40, and 56). +* `--disable-initial-exec-tls` + + Disable the initial-exec TLS model for jemalloc's internal thread-local + storage (on those platforms that support explicit settings). This can allow + jemalloc to be dynamically loaded after program starup (e.g. using dlopen). + Note that in this case, there will be two malloc implementations operating + in the same process, which will almost certainly result in confusing runtime + crashes if pointers leak from one implementation to the other. + The following environment variables (not a definitive list) impact configure's behavior: |
