mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
Collapse arena_inlines_a/b and jemalloc_internal_inlines_b into arena_inlines.h
The split managed one ordering constraint: arena_choose() had to be defined before arena_choose_maybe_huge() but after the tsd/tcache inlines it depends on. After the malloc_dispatch refactor moved the heaviest tcache-pulling inlines out of arena_inlines_b.h, the remaining arena-side inlines all belong together. The merged arena_inlines.h explicitly includes jemalloc_internal_inlines_a.h and tcache.h (previously transitively pulled).
This commit is contained in:
committed by
Slobodan Predolac
parent
c88d5cf67f
commit
6054b976ef
@@ -54,11 +54,9 @@ extern "C" {
|
||||
# include "jemalloc/internal/prof.h"
|
||||
# include "jemalloc/internal/background_thread.h"
|
||||
# include "jemalloc/internal/jemalloc_internal_inlines_a.h"
|
||||
# include "jemalloc/internal/arena_inlines_a.h"
|
||||
# include "jemalloc/internal/jemalloc_internal_inlines_b.h"
|
||||
# include "jemalloc/internal/arena_inlines.h"
|
||||
# include "jemalloc/internal/bin_inlines.h"
|
||||
# include "jemalloc/internal/tcache_inlines.h"
|
||||
# include "jemalloc/internal/arena_inlines_b.h"
|
||||
# include "jemalloc/internal/jemalloc_internal_inlines_c.h"
|
||||
# include "jemalloc/internal/prof_inlines.h"
|
||||
# include "jemalloc/internal/background_thread_inlines.h"
|
||||
@@ -113,11 +111,9 @@ extern "C" {
|
||||
# include "jemalloc/internal/prof.h"
|
||||
# include "jemalloc/internal/background_thread.h"
|
||||
# include "jemalloc/internal/jemalloc_internal_inlines_a.h"
|
||||
# include "jemalloc/internal/arena_inlines_a.h"
|
||||
# include "jemalloc/internal/jemalloc_internal_inlines_b.h"
|
||||
# include "jemalloc/internal/arena_inlines.h"
|
||||
# include "jemalloc/internal/bin_inlines.h"
|
||||
# include "jemalloc/internal/tcache_inlines.h"
|
||||
# include "jemalloc/internal/arena_inlines_b.h"
|
||||
# include "jemalloc/internal/jemalloc_internal_inlines_c.h"
|
||||
# include "jemalloc/internal/prof_inlines.h"
|
||||
# include "jemalloc/internal/background_thread_inlines.h"
|
||||
|
||||
Reference in New Issue
Block a user