Jit Optimizations: Inlining (II)

In a JIT compiler, inlining can become an expensive optimization (compile time wise): it can involve loading other classes or assemblies, doing security checks, etc… What’s worse, even after doing all this expensive work, you may find out that the candidate for inlining wasn’t really worth it, so you just have to throw away work…

25

Jit Optimizations: Inlining (I)

Inlining is an optimization that can happen when you have calls. The optimization consists in substituting the call for the code of the callee. What do you gain from doing this?  – Speed: Reduce the overhead of the call. To get to the actual instructions that do the work, we have to do the following:…

9

The CLR x86 JIT, an overview

I’ll be doing a series of articles on how the x86 CLR JIT compiler works and the different optimizations it does for you.   Whenever a method is about to be executed for the first time, the VM realizes it doesn’t have native code for it, and invokes the JIT to generate it (if you…

16

Introduction

Hi, my name’s David Notario. I’m a developer in the x86 JIT compiler team in the CLR, although we’ve been doing a lot of other stuff there lately. A bit about myself: I was born and raised in the sunny Canary Islands, in Spain, went to university in Madrid, Spain, spent some years in the…

3