Conditionalize an isalloc() call in rallocm().
Conditionalize an isalloc() call in rallocm() that be unnecessary.
diff --git a/src/jemalloc.c b/src/jemalloc.c
index afba0e1..4d10e90 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -1681,11 +1681,11 @@
alignment, zero, no_move);
if (q == NULL)
goto ERR;
- usize = isalloc(q);
if (max_usize < PAGE_SIZE) {
usize = max_usize;
arena_prof_promoted(q, usize);
- }
+ } else
+ usize = isalloc(q);
} else {
q = iralloc(p, size, extra, alignment, zero, no_move);
if (q == NULL)