[LLVMdev] Relocatability of LLVM code

Gary Benson gbenson at redhat.com
Fri Aug 21 03:11:55 PDT 2009


Reid Kleckner wrote:
> On Thu, Aug 20, 2009 at 6:42 AM, Gary Benson<gbenson at redhat.com> wrote:
> > As I understand it, LLVM's JIT memory manager works by allocating
> > a 16Mb block of memory and generating native code into it.  Once
> > that block is exhausted no more functions can be JIT compiled.
> > I'm trying to figure out ways to work around this limitation.
> 
> Nope, I actually fixed this bug in r76902.  :)  Now it allocates
> memory in 64K slabs, and when it runs out of space it allocates
> another 64K slab.

Oh, that's excellent news!  I can forget about this then ;)

Cheers,
Gary

-- 
http://gbenson.net/



More information about the llvm-dev mailing list