Crash from "recursive" method handle chain

Rémi Forax forax at univ-mlv.fr
Wed Jul 27 06:03:00 PDT 2011


On 07/27/2011 01:27 PM, Christian Thalinger wrote:
> On Jul 27, 2011, at 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?
> Right, it's a poll page read.  test on x86 only sets flags according to the test.  The Instruction Set Reference from Intel says:
>
> "Description
>
> Computes the bit-wise logical AND of first operand (source 1 operand) and the second operand (source 2 operand) and sets the SF, ZF, and PF status flags according to the result. The result is then discarded."

so it doesn't change eax. cool !

> -- Christian

Rémi



More information about the mlvm-dev mailing list