Header refactoring: break out ph.h dependencies
This commit is contained in:
parent
57e36e1a12
commit
2f00ce4da7
@ -1,6 +1,8 @@
|
|||||||
#ifndef JEMALLOC_INTERNAL_EXTENT_EXTERNS_H
|
#ifndef JEMALLOC_INTERNAL_EXTENT_EXTERNS_H
|
||||||
#define JEMALLOC_INTERNAL_EXTENT_EXTERNS_H
|
#define JEMALLOC_INTERNAL_EXTENT_EXTERNS_H
|
||||||
|
|
||||||
|
#include "jemalloc/internal/ph.h"
|
||||||
|
|
||||||
extern rtree_t extents_rtree;
|
extern rtree_t extents_rtree;
|
||||||
extern const extent_hooks_t extent_hooks_default;
|
extern const extent_hooks_t extent_hooks_default;
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#ifndef JEMALLOC_INTERNAL_EXTENT_STRUCTS_H
|
#ifndef JEMALLOC_INTERNAL_EXTENT_STRUCTS_H
|
||||||
#define JEMALLOC_INTERNAL_EXTENT_STRUCTS_H
|
#define JEMALLOC_INTERNAL_EXTENT_STRUCTS_H
|
||||||
|
|
||||||
|
#include "jemalloc/internal/ph.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
extent_state_active = 0,
|
extent_state_active = 0,
|
||||||
extent_state_dirty = 1,
|
extent_state_dirty = 1,
|
||||||
|
@ -180,7 +180,6 @@ static const bool have_percpu_arena =
|
|||||||
#include <mach/vm_map.h>
|
#include <mach/vm_map.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "jemalloc/internal/ph.h"
|
|
||||||
#ifndef __PGI
|
#ifndef __PGI
|
||||||
#define RB_COMPACT
|
#define RB_COMPACT
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#define JEMALLOC_EXTENT_C_
|
#define JEMALLOC_EXTENT_C_
|
||||||
#include "jemalloc/internal/jemalloc_internal.h"
|
#include "jemalloc/internal/jemalloc_internal.h"
|
||||||
|
|
||||||
|
#include "jemalloc/internal/ph.h"
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* Data. */
|
/* Data. */
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#include "test/jemalloc_test.h"
|
#include "test/jemalloc_test.h"
|
||||||
|
|
||||||
|
#include "jemalloc/internal/ph.h"
|
||||||
|
|
||||||
typedef struct node_s node_t;
|
typedef struct node_s node_t;
|
||||||
|
|
||||||
struct node_s {
|
struct node_s {
|
||||||
|
Loading…
Reference in New Issue
Block a user