Skip to content

refactor(allocator): move all fixed size allocator code into 1 file#12309

Merged
graphite-app[bot] merged 1 commit intomainfrom
07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file
Jul 17, 2025
Merged

refactor(allocator): move all fixed size allocator code into 1 file#12309
graphite-app[bot] merged 1 commit intomainfrom
07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jul 15, 2025

Pure refactor. Split AllocatorPool into 2 separate files for the normal and fixed size variants. The extra layer of abstraction required to share code between the two versions was getting unwieldy. All the fixed-size allocator code is now together in one file.

Copy link
Member Author

overlookmotel commented Jul 15, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Jul 15, 2025
@overlookmotel overlookmotel marked this pull request as ready for review July 15, 2025 22:53
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from 6cbf927 to bb7b441 Compare July 15, 2025 22:54
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 15, 2025

CodSpeed Instrumentation Performance Report

Merging #12309 will not alter performance

Comparing 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file (dfe54b4) with main (b10ed11)

Summary

✅ 34 untouched benchmarks

@graphite-app graphite-app bot changed the base branch from 07-15-ci_napi_oxlint_run_tests_with_coverage_profile to graphite-base/12309 July 16, 2025 10:40
@graphite-app graphite-app bot force-pushed the graphite-base/12309 branch from 5e89735 to 324eb2f Compare July 16, 2025 10:48
@graphite-app graphite-app bot force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from bb7b441 to 9264b16 Compare July 16, 2025 10:48
@graphite-app graphite-app bot changed the base branch from graphite-base/12309 to main July 16, 2025 10:49
@graphite-app graphite-app bot force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from 9264b16 to bbf4b88 Compare July 16, 2025 10:49
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from bbf4b88 to ca28d7d Compare July 16, 2025 15:33
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from ca28d7d to 70f88fc Compare July 16, 2025 17:10
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from 70f88fc to 92280ab Compare July 16, 2025 18:44
@overlookmotel overlookmotel marked this pull request as draft July 16, 2025 18:50
@overlookmotel overlookmotel changed the base branch from main to graphite-base/12309 July 17, 2025 04:15
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from 92280ab to b975b1e Compare July 17, 2025 04:15
@overlookmotel overlookmotel changed the base branch from graphite-base/12309 to 07-17-fix_napi_oxlint_use_process.exitcode_ July 17, 2025 04:15
@graphite-app graphite-app bot changed the base branch from 07-17-fix_napi_oxlint_use_process.exitcode_ to graphite-base/12309 July 17, 2025 09:12
@graphite-app graphite-app bot force-pushed the graphite-base/12309 branch from 22bc769 to 98b17e9 Compare July 17, 2025 09:20
@graphite-app graphite-app bot force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from b975b1e to ec36d55 Compare July 17, 2025 09:20
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from 1926f69 to f550279 Compare July 17, 2025 14:44
@overlookmotel overlookmotel changed the base branch from graphite-base/12309 to 07-17-refactor_linter_make_unwrap_unconditional July 17, 2025 14:44
@overlookmotel overlookmotel marked this pull request as ready for review July 17, 2025 14:44
@overlookmotel
Copy link
Member Author

This PR is pure refactor, so I think it's good to merge. Still working on rest of the stack.

@graphite-app graphite-app bot force-pushed the 07-17-refactor_linter_make_unwrap_unconditional branch from cf412a4 to 380e8f7 Compare July 17, 2025 14:57
@graphite-app graphite-app bot requested a review from camc314 as a code owner July 17, 2025 14:57
@graphite-app graphite-app bot force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from f550279 to 1d16b81 Compare July 17, 2025 14:57
@overlookmotel overlookmotel force-pushed the 07-17-refactor_linter_make_unwrap_unconditional branch from 380e8f7 to 6b49bf8 Compare July 17, 2025 16:05
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch 2 times, most recently from 5699805 to bbed811 Compare July 17, 2025 16:23
@overlookmotel overlookmotel force-pushed the 07-17-refactor_linter_make_unwrap_unconditional branch from 6b49bf8 to 279d2f3 Compare July 17, 2025 16:23
@overlookmotel overlookmotel force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from bbed811 to 98f3152 Compare July 17, 2025 16:38
@overlookmotel overlookmotel force-pushed the 07-17-refactor_linter_make_unwrap_unconditional branch from 279d2f3 to 341b0df Compare July 17, 2025 16:38
@graphite-app graphite-app bot changed the base branch from 07-17-refactor_linter_make_unwrap_unconditional to graphite-base/12309 July 17, 2025 16:43
@graphite-app graphite-app bot force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from 98f3152 to a5fa21c Compare July 17, 2025 16:46
@graphite-app graphite-app bot force-pushed the graphite-base/12309 branch from 341b0df to b10ed11 Compare July 17, 2025 16:46
@graphite-app graphite-app bot changed the base branch from graphite-base/12309 to main July 17, 2025 16:47
@graphite-app graphite-app bot force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from a5fa21c to b740bf9 Compare July 17, 2025 16:47
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Jul 17, 2025
Copy link
Member Author

overlookmotel commented Jul 17, 2025

Merge activity

…12309)

Pure refactor. Split `AllocatorPool` into 2 separate files for the normal and fixed size variants. The extra layer of abstraction required to share code between the two versions was getting unwieldy. All the fixed-size allocator code is now together in one file.
@graphite-app graphite-app bot force-pushed the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch from b740bf9 to dfe54b4 Compare July 17, 2025 16:59
@graphite-app graphite-app bot merged commit dfe54b4 into main Jul 17, 2025
25 checks passed
@graphite-app graphite-app bot deleted the 07-15-refactor_allocator_move_all_fixed_size_allocator_code_into_1_file branch July 17, 2025 17:07
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants