[Mono-dev] When does JIT reuse memory for new methods
ClassDevelopment at A-SoftTech.com
Sun Feb 18 20:13:56 EST 2007
I might be wrong on that one, but afaik method-definitions are only unloaded
once the AppDomain gets unloaded (or should be - not sure if mono already
Von: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Muath A.
Gesendet: Montag, 19. Februar 2007 00:43
An: mono-devel-list at lists.ximian.com
Betreff: [Mono-dev] When does JIT reuse memory for new methods
I am trying to output some memory map files for mono JITed methods.
I have managed to find the place where methods are JITed and output a file
with the starting address of each method and the size (was easy).
Now I am trying to find the place where a memory chunk allocated for a
the JIT is reused for another method when JIT runs out of memory. I have
all JITing is done in a memory pool temporarily and then a code manager
domain) is used to find a chunk with a space for the new code or allocate
a new one. One thing I did not get is that code manager always allocates a
chunk and never delete previous filled chunks. Instead they are moved to the
list. So where exactly is the place where JIT starts to free some memory
methods. Also what about the reJITed methods? what happen to the previous
memory place. This is important for me to decide when should I stop filling
map and start with a new one so that I do not mix different methods with the
Need a quick answer? Get one in minutes from people who know. Ask your
question on Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list