diff options
author | Jason Evans <jasone@canonware.com> | 2016-05-31 21:50:21 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-06-06 03:42:23 (GMT) |
commit | 7d63fed0fd0bb10bd250e40c35558f67f26469cd (patch) | |
tree | 4e6e1a7d84906c4b1301b9c78e692a3f15e80ba1 /test/unit/junk.c | |
parent | 714d1640f30726a21898b34ac64b8f2fddb502c7 (diff) | |
download | jemalloc-7d63fed0fd0bb10bd250e40c35558f67f26469cd.zip jemalloc-7d63fed0fd0bb10bd250e40c35558f67f26469cd.tar.gz jemalloc-7d63fed0fd0bb10bd250e40c35558f67f26469cd.tar.bz2 |
Rename huge to large.
Diffstat (limited to 'test/unit/junk.c')
-rw-r--r-- | test/unit/junk.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/unit/junk.c b/test/unit/junk.c index cdf8fb3..7a92350 100644 --- a/test/unit/junk.c +++ b/test/unit/junk.c @@ -9,7 +9,7 @@ const char *malloc_conf = #endif static arena_dalloc_junk_small_t *arena_dalloc_junk_small_orig; -static huge_dalloc_junk_t *huge_dalloc_junk_orig; +static large_dalloc_junk_t *large_dalloc_junk_orig; static void *watch_for_junking; static bool saw_junking; @@ -37,10 +37,10 @@ arena_dalloc_junk_small_intercept(void *ptr, const arena_bin_info_t *bin_info) } static void -huge_dalloc_junk_intercept(void *ptr, size_t usize) +large_dalloc_junk_intercept(void *ptr, size_t usize) { - huge_dalloc_junk_orig(ptr, usize); + large_dalloc_junk_orig(ptr, usize); /* * The conditions under which junk filling actually occurs are nuanced * enough that it doesn't make sense to duplicate the decision logic in @@ -59,8 +59,8 @@ test_junk(size_t sz_min, size_t sz_max) if (opt_junk_free) { arena_dalloc_junk_small_orig = arena_dalloc_junk_small; arena_dalloc_junk_small = arena_dalloc_junk_small_intercept; - huge_dalloc_junk_orig = huge_dalloc_junk; - huge_dalloc_junk = huge_dalloc_junk_intercept; + large_dalloc_junk_orig = large_dalloc_junk; + large_dalloc_junk = large_dalloc_junk_intercept; } sz_prev = 0; @@ -110,7 +110,7 @@ test_junk(size_t sz_min, size_t sz_max) if (opt_junk_free) { arena_dalloc_junk_small = arena_dalloc_junk_small_orig; - huge_dalloc_junk = huge_dalloc_junk_orig; + large_dalloc_junk = large_dalloc_junk_orig; } } @@ -122,7 +122,7 @@ TEST_BEGIN(test_junk_small) } TEST_END -TEST_BEGIN(test_junk_huge) +TEST_BEGIN(test_junk_large) { test_skip_if(!config_fill); @@ -136,5 +136,5 @@ main(void) return (test( test_junk_small, - test_junk_huge)); + test_junk_large)); } |