Message1

Author adsharma
Recipients
Date 2000-11-06.07:32:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Going by previous exchanges on the mailing lists,
this seems to be a known problem.

When a execfile() or eval() is repeatedly 
executed in a long running java process, a
new class gets created on every invocation.

This class does not get garbage collected
as long as the classloader which loaded it
is around.

This leads to a bloat of the java process
size (not in the heap, but in the code blocks).

Eval is kind of dispensable, but execfile is
not. One easy fix would be to cache the generated
class and reuse it the next time execfile is
called.

I can readily provide those patches. Is this
acceptable or is a different solution already
in the works ?
 
History
Date User Action Args
2008-02-20 17:16:36adminlinkissue221738 messages
2008-02-20 17:16:36admincreate