Displaying 3 results from an estimated 3 matches for "okuda".
Did you mean:
okada
2012 Jan 05
0
[LLVMdev] How to free memory of JIT'd function
...naosuke/how-to-free-memory-of-JIT-function
The Valgrind heap profiler indicates memory leaking but I don't get
what is wrong with the way to free memory.
If someone could please offer some advice/suggestion on this, I would
really appreciate it.
Best,
Naosuke
On Thu, Dec 29, 2011 at 6:58 PM, OKUDA Naosuke <okudanaosuke at gmail.com> wrote:
> Hi,
>
> I'm testing how to free memory of a JIT'd function.
> I thought ExecutionEngine::freeMachineCodeForFunction() and
> Function::eraseFromParent()
> would work and did a test with the following sample code.
> But I...
2012 Jan 10
1
[LLVMdev] How to free memory of JIT'd function
...e Valgrind heap profiler indicates memory leaking but I don't get
> what is wrong with the way to free memory.
>
> If someone could please offer some advice/suggestion on this, I would
> really appreciate it.
>
> Best,
> Naosuke
>
> On Thu, Dec 29, 2011 at 6:58 PM, OKUDA Naosuke
> <okudanaosuke at gmail.com> wrote:
> > Hi,
> >
> > I'm testing how to free memory of a JIT'd function.
> > I thought ExecutionEngine::freeMachineCodeForFunction() and
> > Function::eraseFromParent()
> > would work and did a test with th...
2011 Dec 29
2
[LLVMdev] How to free memory of JIT'd function
Hi,
I'm testing how to free memory of a JIT'd function.
I thought ExecutionEngine::freeMachineCodeForFunction() and
Function::eraseFromParent()
would work and did a test with the following sample code.
But I found that the memory usage of the process is constantly growing as
the while loop goes.
Could someone shed light on this please?
Here is the code.
int main(int argc, char **argv) {