> On 25 Sep 2017, at 17:47, Stephane Ducasse <stepharo.s...@gmail.com> wrote:
> 
> This is exactly my usecase, i need to remove code that may be called
> by a method on the stack - and i know exactly which method.

I do not understand.

I think we are all not in sync and talk about four different things.

> However my
> base hypothesis is that it is in an already running process (maybe a
> loop) and that part i cannot change. Is there an existing Pharo
> implementation of MethodWrappers ?
> 

Yes, method wrappers exist. But as much as I know they do not solve the problem 
of
on-stack replacement.

Else, whatever you do with MethodWrappers you should be able to do with 
MetaLinks on 
the methodNode. (I would be interested in cases where this is not possible).

        Marcus


Reply via email to