Crash from "recursive" method handle chain
Rémi Forax
forax at univ-mlv.fr
Wed Jul 27 05:37:07 PDT 2011
On 07/27/2011 12:41 PM, Charles Oliver Nutter wrote:
> On Wed, Jul 27, 2011 at 3:21 AM, Rémi Forax<forax at univ-mlv.fr> wrote:
>> I've just read your slides [1].
>> I believe that the test before returning the result of add (slide 201)
>> is a safepoint check.
> Oh really? What is it doing with eax, though, since that has the
> result of the add operation?
no idea why it use eax,
but basically the second argument try to get the value at the address
of the page that will be protected if a safepoint is needed.
So if a safepoint is requested, 'test' will do a page fault,
and the page fault handler will start to execute the safepoint code.
> - Charlie
Rémi
More information about the mlvm-dev
mailing list