This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/21338] New: mallopt M_ARENA_MAX doesn't set the maximum number of arenas
- From: "laanwj at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 31 Mar 2017 07:51:26 +0000
- Subject: [Bug malloc/21338] New: mallopt M_ARENA_MAX doesn't set the maximum number of arenas
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21338
Bug ID: 21338
Summary: mallopt M_ARENA_MAX doesn't set the maximum number of
arenas
Product: glibc
Version: 2.25
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: malloc
Assignee: unassigned at sourceware dot org
Reporter: laanwj at gmail dot com
Target Milestone: ---
Commit be7991c0705e35b4d70a419d117addcd6c627319 (which is in version 2.25)
introduced helper functions for setting arena_max, arena_test and other malloc
parameters. However it contained a typo in a switch statement in
__libc_mallopt, which results in that M_ARENA_MAX sets arena_test instead.
This has the result that setting mallopt M_ARENA_MAX or env MALLOC_ARENA_MAX no
longer sets the maximum number of arenas.
--
You are receiving this mail because:
You are on the CC list for the bug.