mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-16 18:06:22 +03:00
prof_backtrace: use unw_backtrace
unw_backtrace: - does internal per-thread caching - doesn't acquire an internal lock
This commit is contained in:
parent
3541a904d6
commit
9d4e13f45a
2 changed files with 11 additions and 26 deletions
|
|
@ -352,9 +352,9 @@ static const bool config_ivsalloc =
|
|||
# endif
|
||||
# endif
|
||||
# define VARIABLE_ARRAY(type, name, count) \
|
||||
type *name = alloca(sizeof(type) * count)
|
||||
type *name = alloca(sizeof(type) * (count))
|
||||
#else
|
||||
# define VARIABLE_ARRAY(type, name, count) type name[count]
|
||||
# define VARIABLE_ARRAY(type, name, count) type name[(count)]
|
||||
#endif
|
||||
|
||||
#include "jemalloc/internal/valgrind.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue