[PATCH 6/7] Avoid using a union for ctl_node_s
Jason Evans
jasone at canonware.com
Sun Apr 22 01:09:07 PDT 2012
On Apr 19, 2012, at 11:38 PM, Mike Hommey wrote:
> From: Mike Hommey <mh at glandium.org>
>
> MSVC doesn't support C99, and as such doesn't support designated
> initialization of structs and unions. As there is never a mix of
> indexed and named nodes, it is pretty straightforward to use a
> different type for each.
> ---
> include/jemalloc/internal/ctl.h | 27 ++++---
> src/ctl.c | 164 +++++++++++++++++++++++----------------
> 2 files changed, 110 insertions(+), 81 deletions(-)
This patch causes crashes if MALLOC_CONF=stats_print:true is set.
Jason
More information about the jemalloc-discuss
mailing list