Commit 8581769
Simplify iseq mark_and_move CC handling
We should special-case the empty CC cases in the parent, since we
already had to check for that to avoid unnecessary writes hurting
copy-on-write.
This also changes reference updating to only update the CC reference
rather than also checking for the CC being active. There's less
advantage to removing a reference in that phase as the object still
can't be freed until the next time mark is run, so we might as well just
wait.1 parent 2124c57 commit 8581769
2 files changed
+28
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
229 | 234 | | |
230 | 235 | | |
231 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
| 345 | + | |
| 346 | + | |
353 | 347 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
| 348 | + | |
365 | 349 | | |
366 | 350 | | |
367 | 351 | | |
| |||
385 | 369 | | |
386 | 370 | | |
387 | 371 | | |
| 372 | + | |
388 | 373 | | |
389 | | - | |
390 | 374 | | |
391 | 375 | | |
392 | 376 | | |
393 | | - | |
394 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
395 | 386 | | |
396 | | - | |
397 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
398 | 396 | | |
399 | 397 | | |
400 | 398 | | |
| |||
0 commit comments