GSoC/GCI Archive
Google Summer of Code 2011 Jato VM

Inline Caching

by Balagopal K Shantharam for Jato VM

This is the inline caching project mentioned in Jato ToDo page Inline caching is an optimization technique used in virtual machines. The technique replaces a vtable lookup for a virtual call (very common in Java) by a 1-entry cache at the call site and a single call instruction. Statistics show that this 1-entry cache hits more often than not leading to a significant performance gain with very little overhead for caching logic.