Skip to content

Commit

Permalink
Hint by Doug
Browse files Browse the repository at this point in the history
  • Loading branch information
phmarek committed Aug 20, 2023
1 parent b79376c commit c4e5373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/arena.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ lispobj* handle_arena_alloc(struct thread* th, struct alloc_region* region,
if (avail < min_keep && nbytes <= 65536) { // case 1
struct arena* in_use_arena = (void*)native_pointer(th->arena);
__sync_fetch_and_add(&in_use_arena->uw_bytes_wasted, avail);
long total_request = nbytes + 8192;
long total_request = nbytes + 8192*1024;
region->start_addr = claim_new_subrange((void*)native_pointer(th->arena),
total_request, filler);
region->end_addr = (char*)region->start_addr + total_request;
Expand Down

0 comments on commit c4e5373

Please sign in to comment.