Jason Gloudon wrote:

3) The vtable calls some code deletes the reference to the PMC, which is now
no longer accessible from the root set. The vtable then attempts to allocate
some memory.

The vtable function will now contain the only remaining reference to the PMC,
but unless the vtable function has added that PMC to the root set somehow it
will be collected prematurely.

I don't get that.
When e.g. in 3) the hash containing the PMC is deleted, the PMC is dead., when this was the last reference to the PMC. Working with it doesn't make sense for me.

leo


Reply via email to