Uh oh!
There was an error while loading. Please reload this page.
IL: optimize attribute cluster reading (Fixed version) - #15941
Conversation
auduchinok
commented
Sep 6, 2023
Would it be possible to write a test that references |
vzarytovskii
commented
Sep 6, 2023
This will probably have to go past net8, just to be safe |
psfinaki
commented
Oct 23, 2023
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
psfinaki
commented
Oct 23, 2023
@DedSec256 hey Alex, this LGTM, if possible please add a test described by Eugene, then we can probably pull this in. |
DedSec256
commented
Oct 23, 2023
@psfinaki, I tried to add a test, but it requires the specific version of System.Runtime.CompilerServices.Unsafe.dll (Metadata v4.0.30319) on which the problem is known to reproduce. So we need to push this version of the library, or come up with something else. |
vzarytovskii
commented
Oct 23, 2023
Just have a separate manual test under |
Sorry, I tried to reproduce it yesterday and today, but for some reason I couldn't. The fix from 1e0ebe5 fsharp/src/Compiler/AbstractIL/ilread.fs Line 1291 in 1e0ebe5 seems obvious, maybe is it possible to merge this as is? |
vzarytovskii
commented
Oct 30, 2023
Just to be clear, the change compared to previous revision is an off-by-one fix? |
DedSec256
commented
Oct 30, 2023
Yes, the current version differs from the previous one by only one commit 1e0ebe5 that has two changes:
|
Fixed version of #13821
This PR contains fix 1e0ebe5 for the loop counter that previously caused seek to hang in an unsorted table #14651.
Search in a sorted table is also slightly refactored to be more clear.
Without this fix, the hang reproduced at build time and in the IDE while analyzing file
SplitApp.Android/MainActivity.fsfrom the issue above, when trying to read attributes for assemblySystem.Runtime.CompilerServices.Unsafe.dll (Metadata v4.0.30319).cc @auduchinok