Commit 9bdf473
Guard against -1 Returned from sysconf for the Cache Sizes Causing Large Gen0 Sizes and Budgets for Certain Linux Distributions. (dotnet#100502)
* Logging.
* Fixed comparison check
* Fix logical operations
* Completely guard against the cacheSize as UINTMAX_MAX
* Fix for right macro
* Ensure we are guarded against all cases where cacheSize == SIZE_MAX
* Added an extra guard and removed redundant case
* Comment clean
* Added some additional asserts
* Removed unnecessary checks for cacheSize == SIZE_MAX
* Cleaned up logic
* Fix type casting comparison
* Removed redundant comment
* Removed one more unneccesary guard1 parent bc38029 commit 9bdf473
1 file changed
+15
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
| 871 | + | |
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
| 877 | + | |
878 | 878 | | |
| 879 | + | |
| 880 | + | |
879 | 881 | | |
880 | | - | |
| 882 | + | |
881 | 883 | | |
882 | 884 | | |
883 | 885 | | |
884 | | - | |
| 886 | + | |
885 | 887 | | |
886 | 888 | | |
887 | 889 | | |
888 | | - | |
| 890 | + | |
889 | 891 | | |
890 | 892 | | |
891 | 893 | | |
892 | | - | |
| 894 | + | |
893 | 895 | | |
894 | 896 | | |
895 | 897 | | |
| |||
912 | 914 | | |
913 | 915 | | |
914 | 916 | | |
915 | | - | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
916 | 920 | | |
| 921 | + | |
| 922 | + | |
917 | 923 | | |
918 | 924 | | |
919 | 925 | | |
920 | 926 | | |
921 | 927 | | |
922 | 928 | | |
| 929 | + | |
923 | 930 | | |
924 | 931 | | |
925 | | - | |
| 932 | + | |
926 | 933 | | |
927 | 934 | | |
928 | 935 | | |
| |||
0 commit comments