Commit 0096013
authored
Use bump allocation in DRC free list and other improvements (#12969)
* Use bump allocation in DRC free list and other improvements
Also add fast-path entry points that take a `u32` size directly that has already
been rounded to the free list's alignment.
Altogether, this shaves off ~309B instructions retired (48%) from the benchmark
in #11141
* Address review feedback1 parent d248736 commit 0096013
File tree
3 files changed
+248
-123
lines changed- crates/wasmtime
- proptest-regressions/runtime/vm/gc/enabled
- src/runtime/vm/gc/enabled
3 files changed
+248
-123
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
190 | 194 | | |
191 | 195 | | |
192 | 196 | | |
| |||
920 | 924 | | |
921 | 925 | | |
922 | 926 | | |
| 927 | + | |
923 | 928 | | |
924 | 929 | | |
925 | 930 | | |
| |||
933 | 938 | | |
934 | 939 | | |
935 | 940 | | |
| 941 | + | |
936 | 942 | | |
937 | | - | |
| 943 | + | |
938 | 944 | | |
939 | 945 | | |
940 | 946 | | |
| |||
0 commit comments