On Tue, May 10, 2011 at 9:41 AM, Marcus Denker <marcus.denker@inria.fr>wrote:
On May 10, 2011, at 9:32 AM, Mariano Martinez Peck wrote:
what is even worst, is that even after removing those correct CM, and
doing a GC etc...they still don't disappear.
There is
ScriptLoader new cleanUpMethods
This is called from #cleanUpForRelease and normally should make sure there are no old methods.
hehehehe if I do: ScriptLoader new cleanUpForRelease, then inspect ((CompiledMethod allInstances select: [:each | each trailer kind = #VarLengthSourcePointer] ) ) they are not GC'ed and if then I click on the first element in the inspector.... VM CRASH!!! with both, InterpreterVM and CogVM. :(
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
-- Mariano http://marianopeck.wordpress.com