Add info about MSILC JIT to docs
In https://github.com/dotnet/coreclr/pull/249 the MSILC JIT was enabled, which from the comments in runtest.cmd is an "alternative JIT for testing".
I'm curious what this is, can we get a bit more info added to the docs?
Yes, the CLR has functionality to allow for an “alternate jit” that can be loaded for method JITing while still falling back to the base JIT if needed. This is a useful tool for JIT testing and debugging as you can probably imagine. You’re right, it looks like we need additions to the docs here. The common ‘alt’ scenario is that the current RyuJIT is built as a dll that includes a developers changes and then is used as an alt jit for testing/binary search. Architecturally CoreCLR defines a JIT interface that allows different JITs to be plugged in so there have been different alternate JITs internally over the years. The “MSILC” you saw is just one of those, and which is next in the pipeline to come open - we're just resource constrained or it'd be out already.
Today if you set COMPlus_AltJit=*, and specify COMPlus_AltJitName=
https://github.com/Microsoft/dotnet/tree/master/docs
Your issue is a good one – we’ll get somebody to add some basic docs initially and then start on some more overarching description.
Great, I suspected something like that, thanks for the explanation!
@akoeplinger Do you have a suggestion for what we should do? Should we make an entry in the wiki, start a new file in the Documentation direction? What would work best for you, as a user of the info?
@richlander Hmm, I don't think it fits in the wiki, I'd prefer something in the Documentation folder.
@akoeplinger OK, works. I'll talk to folks about that. I'm thinking a document that describes the alt-jit mechanism, it's intention and the instructions would be good. Sound, good?
@cmckinsey, @CarolEidt or @russellhadley can probably help with that. I assigned to @cmckinsey.
Yep that sounds excellent!
@akoeplinger actually the AltJit mechanism is easy to understand, what's interesting/unclear here is what MSILCJIT/LLILCJIT itself is. any progress ? @richlander
alright, to answer my own question, MSILCJIT or LLILCJIT is an LLVM based JIT for .NET https://github.com/dotnet/llilc
Last question answered with llilc link. Closing.