diff options
author | Christopher Ferris <cferris@google.com> | 2017-04-25 13:25:48 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-04-27 17:17:18 -0700 |
commit | be92dfd38fce4a76e623796b423ee8ddd49fd928 (patch) | |
tree | 88996c1f1553bac44fbd68c8bcf2f2312574ac23 /include | |
parent | 412112bb89f0bbf60b5a24e42c8072cd301d1581 (diff) | |
download | jemalloc-be92dfd38fce4a76e623796b423ee8ddd49fd928.tar.gz |
Change the name of the libc logging header.android-wear-o-preview-4android-wear-o-preview-3android-o-preview-2
Test: Ran unit tests on bullhead.
Change-Id: I54b488114b54415263c0fa22cfe946ecc5883351
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/arena.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jemalloc/internal/arena.h b/include/jemalloc/internal/arena.h index 1ab91ea..0792951 100644 --- a/include/jemalloc/internal/arena.h +++ b/include/jemalloc/internal/arena.h @@ -1439,7 +1439,7 @@ arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool slow_path) #if defined(__ANDROID__) /* Verify the ptr is actually in the chunk. */ if (unlikely(pageind < map_bias || pageind >= chunk_npages)) { - __libc_fatal("Invalid address %p passed to free: invalid page index", ptr); + async_safe_fatal("Invalid address %p passed to free: invalid page index", ptr); } #endif mapbits = arena_mapbits_get(chunk, pageind); @@ -1447,7 +1447,7 @@ arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool slow_path) #if defined(__ANDROID__) /* Verify the ptr has been allocated. */ if (unlikely((mapbits & CHUNK_MAP_ALLOCATED) == 0)) { - __libc_fatal("Invalid address %p passed to free: value not allocated", ptr); + async_safe_fatal("Invalid address %p passed to free: value not allocated", ptr); } #endif if (likely((mapbits & CHUNK_MAP_LARGE) == 0)) { |