[BACK]Return to jemalloc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / stdlib

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

Diff for /src/lib/libc/stdlib/jemalloc.c between version 1.13 and 1.14

version 1.13, 2007/11/30 17:09:22 version 1.14, 2007/11/30 17:44:38
Line 724  static unsigned  next_arena;
Line 724  static unsigned  next_arena;
 static malloc_mutex_t   arenas_mtx; /* Protects arenas initialization. */  static malloc_mutex_t   arenas_mtx; /* Protects arenas initialization. */
   
 static thread_key_t arenas_map_key;  static thread_key_t arenas_map_key;
 #define get_arenas_map()        ((uintptr_t)thr_getspecific(arenas_map_key))  #define get_arenas_map()   ((uintptr_t)thr_getspecific(arenas_map_key))
 #define set_arenas_map(x)       thr_setspecific(arenas_map_key, (void *)x)  #define set_arenas_map(x)  thr_setspecific(arenas_map_key, (void *)(uintptr_t)x)
   
 #ifdef MALLOC_STATS  #ifdef MALLOC_STATS
 /* Chunk statistics. */  /* Chunk statistics. */

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

CVSweb <webmaster@jp.NetBSD.org>