mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-26 09:03:33 +03:00
Adapt hpa to the usize changes.
This commit is contained in:
parent
d01d5b8f4a
commit
9ce475a135
4 changed files with 12 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#define SHARD_IND 111
|
||||
|
||||
#define ALLOC_MAX (HUGEPAGE / 4)
|
||||
#define ALLOC_MAX (HUGEPAGE)
|
||||
|
||||
typedef struct test_data_s test_data_t;
|
||||
struct test_data_s {
|
||||
|
|
|
|||
|
|
@ -412,7 +412,7 @@ TEST_BEGIN(test_expand_shrink_delegate) {
|
|||
|
||||
bool deferred_work_generated = false;
|
||||
|
||||
test_sec_init(&sec, &ta.pai, /* nshards */ 1, /* max_alloc */ 10 * PAGE,
|
||||
test_sec_init(&sec, &ta.pai, /* nshards */ 1, /* max_alloc */ 8 * PAGE,
|
||||
/* max_bytes */ 1000 * PAGE);
|
||||
edata_t *edata = pai_alloc(tsdn, &sec.pai, PAGE, PAGE,
|
||||
/* zero */ false, /* guarded */ false, /* frequent_reuse */ false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue