forked fromdotnet/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commitcea1aac
authored
don't keep parse results in background builder (dotnet#2378)
Likedotnet#2377 this eliminates a source of unnecessarily retained memory - the parse trees from the background build. These are unused in the Visual F# Tools and even if they were needed it is easy to recreate them on-demand.The original code is being kept #if because the FSharp.Compiler.Service buget package component might choose to optionally allow the storage of these, so there's no need to delete the original code path yet* don't keep parse results in background builder* fix memory capture by TcSymbolUses* use struct tuples* fix test1 parente861d98 commitcea1aac
File tree
4 files changed
+41
-6
lines changed- src/fsharp
- vs
- tests/service
- vsintegration/tests/unittests
4 files changed
+41
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1393 | 1393 | | |
1394 | 1394 | | |
1395 | 1395 | | |
1396 | | - | |
| 1396 | + | |
1397 | 1397 | | |
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
| 1401 | + | |
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
1405 | 1405 | | |
1406 | | - | |
| 1406 | + | |
1407 | 1407 | | |
1408 | 1408 | | |
1409 | 1409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1600 | 1600 | | |
1601 | 1601 | | |
1602 | 1602 | | |
1603 | | - | |
1604 | 1603 | | |
1605 | 1604 | | |
1606 | | - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
1607 | 1611 | | |
1608 | 1612 | | |
1609 | 1613 | | |
1610 | 1614 | | |
1611 | 1615 | | |
1612 | 1616 | | |
1613 | 1617 | | |
| 1618 | + | |
1614 | 1619 | | |
| 1620 | + | |
1615 | 1621 | | |
1616 | 1622 | | |
1617 | 1623 | | |
| |||
1760 | 1766 | | |
1761 | 1767 | | |
1762 | 1768 | | |
| 1769 | + | |
1763 | 1770 | | |
1764 | 1771 | | |
1765 | 1772 | | |
1766 | 1773 | | |
1767 | 1774 | | |
1768 | 1775 | | |
1769 | 1776 | | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
1770 | 1789 | | |
1771 | 1790 | | |
1772 | 1791 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4817 | 4817 | | |
4818 | 4818 | | |
4819 | 4819 | | |
4820 | | - | |
| 4820 | + | |
| 4821 | + | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + | |
4821 | 4825 | | |
4822 | 4826 | | |
4823 | 4827 | | |
| |||
4826 | 4830 | | |
4827 | 4831 | | |
4828 | 4832 | | |
| 4833 | + | |
4829 | 4834 | | |
| 4835 | + | |
| 4836 | + | |
| 4837 | + | |
4830 | 4838 | | |
4831 | 4839 | | |
4832 | 4840 | | |
4833 | 4841 | | |
4834 | 4842 | | |
4835 | 4843 | | |
4836 | 4844 | | |
| 4845 | + | |
4837 | 4846 | | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
4838 | 4850 | | |
4839 | 4851 | | |
4840 | 4852 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4218 | 4218 | | |
4219 | 4219 | | |
4220 | 4220 | | |
| 4221 | + | |
4221 | 4222 | | |
| 4223 | + | |
| 4224 | + | |
| 4225 | + | |
4222 | 4226 | | |
4223 | 4227 | | |
4224 | 4228 | | |
| |||
0 commit comments
Comments
(0)