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

Reid Kleckner rnk at mit.edu
Tue Jun 23 17:05:39 PDT 2009


And of course I meant to attach the patch, goshdurnit.

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
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JITMemoryManager.diff
Type: text/x-diff
Size: 29512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090623/9036f073/attachment.diff>


More information about the llvm-commits mailing list