[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.45 and 1.46

version 1.45, 2018/07/25 20:05:35 version 1.46, 2019/03/28 15:05:03
Line 704  static chunk_tree_t huge;
Line 704  static chunk_tree_t huge;
  * base_pages_alloc() also uses sbrk(), but cannot lock chunks_mtx (doing so   * base_pages_alloc() also uses sbrk(), but cannot lock chunks_mtx (doing so
  * could cause recursive lock acquisition).   * could cause recursive lock acquisition).
  */   */
   #ifdef _REENTRANT
 static malloc_mutex_t   brk_mtx;  static malloc_mutex_t   brk_mtx;
   #endif
 /* Result of first sbrk(0) call. */  /* Result of first sbrk(0) call. */
 static void             *brk_base;  static void             *brk_base;
 /* Current end of brk, or ((void *)-1) if brk is exhausted. */  /* Current end of brk, or ((void *)-1) if brk is exhausted. */

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>