[LLVMdev] Should LLVM JIT default to lazy or non-lazy?

Jeffrey Yasskin jyasskin at google.com
Wed Oct 28 09:52:24 PDT 2009


On Wed, Oct 28, 2009 at 9:48 AM, Kenneth Uildriks <kennethuil at gmail.com> wrote:
> On Wed, Oct 28, 2009 at 11:41 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
>> And a couple to default to lazy compilation:
>> * It's safe for single-threaded code.
>> * There are existing users who have assumed this default.
>
> And what might break if this assumption doesn't hold?

They'll wind up compiling the whole tree of transitive calls at
startup, including calls that are dynamically never taken, instead of
compiling only the taken calls gradually over the running time of the
app.



More information about the llvm-dev mailing list