David Hakim
2003-08-03 17:27:53 UTC
Hey Stefano!
I'm taking a look at your patch now. I replicated at least one
interpreter memory leak in ary3.moto . Is this the one you are
referring to ? I haven't gone through the other perf tests yet. First I
want to add this one to the main test list. Then fix it. Then look at
the others :)
I'm taking a look at your patch now. I replicated at least one
interpreter memory leak in ary3.moto . Is this the one you are
referring to ? I haven't gone through the other perf tests yet. First I
want to add this one to the main test list. Then fix it. Then look at
the others :)
Hi Dave,
I'm working to fix some memory problems. Please give a look at this
patch and
see if it makes sense... I've fixed a bug in motoi_new (the resulting
MotoVal
of motoi_callMDF was not free'd before) and I've create a new strdup
routine
for variable names, to be able to free them separately when a frame is
free'd
(or when a dereference name is pushed/popped as MotoVar). There are
however
some place where we leak memory... I would like to be able to run all
the
tests in perfetest.tar.gz in interpreted mode (doesn't matter for how
long
:)) without getting memory errors... The funny thing with this patch
is that
things go slightly faster!
The patch applies with -p1 on moto_0_20_0...
Stefano<motomem.patch>
I'm working to fix some memory problems. Please give a look at this
patch and
see if it makes sense... I've fixed a bug in motoi_new (the resulting
MotoVal
of motoi_callMDF was not free'd before) and I've create a new strdup
routine
for variable names, to be able to free them separately when a frame is
free'd
(or when a dereference name is pushed/popped as MotoVar). There are
however
some place where we leak memory... I would like to be able to run all
the
tests in perfetest.tar.gz in interpreted mode (doesn't matter for how
long
:)) without getting memory errors... The funny thing with this patch
is that
things go slightly faster!
The patch applies with -p1 on moto_0_20_0...
Stefano<motomem.patch>