Repository navigation
Commit 37f2b5b
committed
fixup! Store Tachyon samples in bounded columnar blocks
The stack reuse cache currently keeps one stack at each hash position,
so a collision immediately evicts the previous stack. Alternating
between two colliding stacks therefore prevents either from being
reused.
Let each cache bucket remember two stacks while keeping the cache the
same overall size. Lookups check both stacks, and inserting a third
stack replaces the older one.1 parent 470c558 commit 37f2b5b
3 files changed
Lines changed: 69 additions & 11 deletions
File tree
- Lib/test/test_profiling/test_sampling_profiler
- Modules/_remote_debugging
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1022 | 1054 | | |
1023 | 1055 | | |
1024 | 1056 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
| |||
352 | 355 | | |
353 | 356 | | |
354 | 357 | | |
355 | | - | |
| 358 | + | |
356 | 359 | | |
357 | 360 | | |
358 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
813 | 833 | | |
814 | 834 | | |
815 | 835 | | |
| |||
853 | 873 | | |
854 | 874 | | |
855 | 875 | | |
856 | | - | |
| 876 | + | |
857 | 877 | | |
858 | 878 | | |
859 | 879 | | |
| |||
888 | 908 | | |
889 | 909 | | |
890 | 910 | | |
891 | | - | |
892 | | - | |
893 | | - | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
894 | 914 | | |
895 | 915 | | |
896 | 916 | | |
| |||
906 | 926 | | |
907 | 927 | | |
908 | 928 | | |
909 | | - | |
| 929 | + | |
910 | 930 | | |
911 | 931 | | |
912 | 932 | | |
| 933 | + | |
913 | 934 | | |
914 | 935 | | |
915 | 936 | | |
| |||
919 | 940 | | |
920 | 941 | | |
921 | 942 | | |
922 | | - | |
923 | | - | |
924 | | - | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
925 | 947 | | |
926 | 948 | | |
927 | 949 | | |
| |||
933 | 955 | | |
934 | 956 | | |
935 | 957 | | |
| 958 | + | |
936 | 959 | | |
937 | 960 | | |
938 | 961 | | |
939 | | - | |
| 962 | + | |
940 | 963 | | |
941 | 964 | | |
942 | 965 | | |
| |||
946 | 969 | | |
947 | 970 | | |
948 | 971 | | |
949 | | - | |
| 972 | + | |
950 | 973 | | |
951 | 974 | | |
952 | 975 | | |
| |||
0 commit comments