Repository navigation
Commit e093a04
Rehash and clear deleted entries in weak collections during GC
Otherwise, they'll just keep growing until we run out of memory or hit the FixedArray's maximum capacity.
BUG=v8:4909
R=hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1877233005
Cr-Commit-Position: refs/heads/master@{#35514}1 parent 71453f1 commit e093a04
5 files changed
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2572 | 2572 | | |
2573 | 2573 | | |
2574 | 2574 | | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
2575 | 2582 | | |
2576 | 2583 | | |
2577 | 2584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
515 | 519 | | |
516 | 520 | | |
517 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16860 | 16860 | | |
16861 | 16861 | | |
16862 | 16862 | | |
| 16863 | + | |
| 16864 | + | |
| 16865 | + | |
| 16866 | + | |
| 16867 | + | |
| 16868 | + | |
| 16869 | + | |
| 16870 | + | |
| 16871 | + | |
| 16872 | + | |
16863 | 16873 | | |
16864 | 16874 | | |
16865 | 16875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments