Skip to content

Conversation

@BruceForstall
Copy link
Contributor

When an MCH file is specified via the -mch_file argument, if that file is local (not on a UNC Windows share, on Windows), then don't copy it to the MCH file cache.

This behavior -- to avoid caching local files -- was altered with #56871, but it's not clear from that PR if it was required for something or was something used for testing that wasn't reverted before merge. I'm guessing the latter since the code was simply commented out.

When an MCH file is specified via the `-mch_file` argument,
if that file is local (not on a UNC Windows share, on Windows),
then don't copy it to the MCH file cache.

This behavior -- to avoid caching local files -- was altered
with dotnet#56871, but it's
not clear from that PR if it was required for something or
was something used for testing that wasn't reverted before merge.
I'm guessing the latter since the code was simply commented out.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 22, 2023
@ghost ghost assigned BruceForstall Apr 22, 2023
@ghost
Copy link

ghost commented Apr 22, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

When an MCH file is specified via the -mch_file argument, if that file is local (not on a UNC Windows share, on Windows), then don't copy it to the MCH file cache.

This behavior -- to avoid caching local files -- was altered with #56871, but it's not clear from that PR if it was required for something or was something used for testing that wasn't reverted before merge. I'm guessing the latter since the code was simply commented out.

Author: BruceForstall
Assignees: BruceForstall
Labels:

area-CodeGen-coreclr

Milestone: -

@BruceForstall
Copy link
Contributor Author

@kunalspathak PTAL
cc @dotnet/jit-contrib

@kunalspathak
Copy link
Contributor

I'm guessing the latter since the code was simply commented out.

Yes, I don't remember too and may be it could be for some testing.

@BruceForstall BruceForstall merged commit 2b0669b into dotnet:main Apr 24, 2023
@BruceForstall BruceForstall deleted the StopCachingLocalMchFiles branch April 24, 2023 18:11
@ghost ghost locked as resolved and limited conversation to collaborators May 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants