dotnet / jitutils

MIT License
144 stars 59 forks source link

Add a retry loop in WriteAndFlushNextMethodToPrepMarker #378

Closed jakobbotsch closed 1 year ago

jakobbotsch commented 1 year ago

I frequently hit "The process cannot access the file" errors when PMI tries to write the marker file, presumably due to AV software locking this file. This adds a retry loop to try writing the marker a few times before aborting.

jakobbotsch commented 1 year ago

cc @dotnet/jit-contrib