Commit 53835dd
committed
Improve accounting of long lived objects.
Subtract the objects that are unreachable and add back the ones that
are resurrected. This likely doesn't matter in most cases but
if the GC is freeing a lot of cyclic garbage then we don't want to
over count the long lived objects.1 parent 40657c7 commit 53835dd
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1230 | 1230 | | |
1231 | 1231 | | |
1232 | 1232 | | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
1233 | 1236 | | |
1234 | 1237 | | |
1235 | 1238 | | |
| |||
1911 | 1914 | | |
1912 | 1915 | | |
1913 | 1916 | | |
| 1917 | + | |
1914 | 1918 | | |
1915 | 1919 | | |
1916 | 1920 | | |
| |||
2311 | 2315 | | |
2312 | 2316 | | |
2313 | 2317 | | |
2314 | | - | |
2315 | | - | |
2316 | | - | |
2317 | 2318 | | |
2318 | 2319 | | |
2319 | 2320 | | |
| |||
2336 | 2337 | | |
2337 | 2338 | | |
2338 | 2339 | | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
2339 | 2343 | | |
2340 | 2344 | | |
2341 | 2345 | | |
| |||
0 commit comments