mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 22:03:07 +00:00
Running clang-format on two files
This commit is contained in:
committed by
Guangli Dai
parent
2688047b56
commit
ace437d26a
@@ -172,8 +172,7 @@ unsigned ncpus;
|
||||
unsigned opt_debug_double_free_max_scan =
|
||||
SAFETY_CHECK_DOUBLE_FREE_MAX_SCAN_DEFAULT;
|
||||
|
||||
size_t opt_calloc_madvise_threshold =
|
||||
CALLOC_MADVISE_THRESHOLD_DEFAULT;
|
||||
size_t opt_calloc_madvise_threshold = CALLOC_MADVISE_THRESHOLD_DEFAULT;
|
||||
|
||||
/* Protects arenas initialization. */
|
||||
static malloc_mutex_t arenas_lock;
|
||||
@@ -261,8 +260,8 @@ _init_init_lock(void) {
|
||||
# ifdef _MSC_VER
|
||||
# pragma section(".CRT$XCU", read)
|
||||
JEMALLOC_SECTION(".CRT$XCU")
|
||||
JEMALLOC_ATTR(used) static const
|
||||
void(WINAPI *init_init_lock)(void) = _init_init_lock;
|
||||
JEMALLOC_ATTR(used)
|
||||
static const void(WINAPI *init_init_lock)(void) = _init_init_lock;
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
|
||||
@@ -666,8 +666,8 @@ pages_purge_process_madvise_impl(
|
||||
if (errno == EPERM || errno == EINVAL || errno == ENOSYS
|
||||
|| errno == EBADF) {
|
||||
/* Process madvise not supported the way we need it. */
|
||||
atomic_store_b(&process_madvise_gate, false,
|
||||
ATOMIC_RELAXED);
|
||||
atomic_store_b(
|
||||
&process_madvise_gate, false, ATOMIC_RELAXED);
|
||||
}
|
||||
set_errno(saved_errno);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user