Tolerate experimental features for abort_conf.
Not aborting with unrecognized experimental options. This helps us testing experimental features with abort_conf enabled.
This commit is contained in:
parent
6deed86deb
commit
4bc48718b2
@ -896,6 +896,11 @@ malloc_conf_error(const char *msg, const char *k, size_t klen, const char *v,
|
||||
malloc_printf("<jemalloc>: %s: %.*s:%.*s\n", msg, (int)klen, k,
|
||||
(int)vlen, v);
|
||||
/* If abort_conf is set, error out after processing all options. */
|
||||
const char *experimental = "experimental_";
|
||||
if (strncmp(k, experimental, strlen(experimental)) == 0) {
|
||||
/* However, tolerate experimental features. */
|
||||
return;
|
||||
}
|
||||
had_conf_error = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user