Run-Time Code Generation as a Central System Service

12 years 1 months ago
Run-Time Code Generation as a Central System Service
We are building an operating system in which an integral run-time code generator constantly strives to improve the quality of already executing code. Our system is based on a platform-independent software distribution format twice as dense as Java byte-codes that is translated into native code only at the time of loading. This initial translation happens in a single burst and puts compilation speed ahead of code quality, so that program execution can commence immediately. However, the native code generated during loading will usually not be executed for long. Immediately after a program has started running, its code image becomes a candidate for re-optimization. A background process that executes only during otherwise idle processor cycles continuously recompiles parts of the already running system, guided by run-time profiling data, and is able to substitute already executing code in situ. This re-optimization encompasses not only user programs, but also many of the system libraries,...
Michael Franz
Added 06 Aug 2010
Updated 06 Aug 2010
Type Conference
Year 1997
Authors Michael Franz
Comments (0)