Joan Venge
Joan Venge

Reputation: 331102

How does JIT compiling works for caching?

When you write an application in C#, and then run it, will it not be compiled again next time it's run, or everything that's used is gonna be recompiled every time the application starts up?

How does JIT compiling works for caching?

Upvotes: 3

Views: 657

Answers (1)

JaredPar
JaredPar

Reputation: 754833

For any DLL that is not in the ngen'd, every time you run the application, it will re-JIT the code that is used. There is no caching of the JIT code in between runs of the same non-ngen'd DLL.

EDIT Cleared up a mistake with GAC and NGEN

Upvotes: 4

Related Questions