harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Trampoline
Date Mon, 16 May 2005 16:38:45 GMT
Short Story: Please take a look if you haven't already -

Long story: Was trying to compile Kaffe on WinXP using cygwin and ran
into some compile errors, that got me googling and led me to this nice
article on Trampolines in Kaffe. Here's the abstract:

Trampolines are springboards for just-in-time (JIT) compilation. Every
time a method is invoked, the caller looks in a dispatch table for the
address of the method's native code. If the method has not been
translated yet, the dispatch table entry points to the method's
trampoline function. When invoked, the trampoline function invokes the
translator for the method and fixes up the dispatch table to point to
the newly-loaded native code.


Davanum Srinivas - http://webservices.apache.org/~dims/

View raw message