[llvm-commits] Patch to allow the JITMemoryManager to allocate more blocks of memory

Chris Lattner clattner at apple.com
Tue Jun 23 23:11:23 PDT 2009


On Jun 23, 2009, at 5:05 PM, Reid Kleckner wrote:
> And of course I meant to attach the patch, goshdurnit.

Have you run through the llvm testsuite with the initial threshold  
cranked way down?  This would cause the test suite to check out  
whether the reallocation stuff is working.  If that works, it looks  
good to me.

-Chris

>
> Reid
>
> On Tue, Jun 23, 2009 at 4:59 PM, Reid Kleckner<rnk at mit.edu> wrote:
>> I meant to send this to llvm-commits at cs.uiuc.edu:
>>
>> On Tue, Jun 23, 2009 at 4:56 PM, Reid Kleckner<rnk at mit.edu> wrote:
>>> Hey all,
>>>
>>> I'm working on unladen-swallow, and our regression tests currently
>>> fail halfway through because the DefaultJITMemoryManager doesn't
>>> allocate more memory when it runs out of space.  This patch fixes  
>>> that
>>> by retrying and asking for twice as much space, which the memory
>>> manager uses to allocate a new slab of memory.
>>>
>>> I ran it by Jeff Yasskin and Nick Lewycky here:
>>> http://codereview.appspot.com/71042
>>>
>>> The patch is attached.
>>>
>>> Reid
>>>
>>
> <JITMemoryManager.diff>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list