int* is not tracked by the garbage collector thus it is not necessary to
use write barrier for it.

In a correct program, int* has to point into interior of *pinned* object
or other memory location that can't be moved by the garbage collector.
This fact has to be guaranteed by the user code. That's one of the
reasons for loading from/storing into int* to be non-verifiable.

-Jan

This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Archana [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 29, 2003 3:05 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] question about the write barrier

Hi,
   All the write barrier functions take the destination as an object
reference (OBJECTREF*). What happens when there is a write to an
interior
pointer (that may be one of the fields of an object and which is of a
primitive
type say int *).

thanks and regards,
archana

Reply via email to