Module Name:    src
Committed By:   christos
Date:           Sat Mar 16 21:32:04 UTC 2019

Modified Files:
        src/external/bsd/jemalloc/dist/src: extent.c

Log Message:
PR/54062: Fix the "snprintf_float" test failing after the jemalloc import
issue: jemalloc uses a lot more memory (if it can find it) by default and
this test limited the amount of memory it could get, causing it to get to
an error path with a missing mutex_unlock...


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/jemalloc/dist/src/extent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/jemalloc/dist/src/extent.c
diff -u src/external/bsd/jemalloc/dist/src/extent.c:1.3 src/external/bsd/jemalloc/dist/src/extent.c:1.4
--- src/external/bsd/jemalloc/dist/src/extent.c:1.3	Sun Mar 10 15:34:30 2019
+++ src/external/bsd/jemalloc/dist/src/extent.c	Sat Mar 16 17:32:04 2019
@@ -748,6 +748,7 @@ extent_register_impl(tsdn_t *tsdn, exten
 
 	if (extent_rtree_leaf_elms_lookup(tsdn, rtree_ctx, extent, false, true,
 	    &elm_a, &elm_b)) {
+		extent_unlock(tsdn, extent);
 		return true;
 	}
 

Reply via email to