It is not entirely clear what does your "write barrier: overwrites
00B7F964 with 00B7F964" log entry means. I assume that you have
"printf("write barrier: overwrites %08x with %08x\n", dst, ref);" to the
JIT_CheckedWriteBarrier function.

#1: Overwriting the start of the object with its address would be a bug.
Every object starts with MethodTable* that would be corrupted by this
action. I do not see anything like that if I run "clix hello.exe" with
the above logging. So I can't tell what you are seeing.

#2: These could be writes to the fields of null object. 

-Jan

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of Gajah Mada
Sent: Monday, November 01, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] Write Barrier

Hi,

#1
If we trace the allocation and write barrier in Rotor, we will see (in
the
beginning):

alloc: 00B7F8A4
alloc: 00B7F8E4
alloc: /* more allocations */
alloc: 00B7F964
write barrier: overwrites 00B7F964 with 00B7F964

Why does Rotor overwrite the barrier which contains a memory address
00B7F964 with the same address 00B7F964?

#2
What does it mean when Rotor overwrite a barrier that contains a memory
address 0000000C or 00000004?

Thank you very much.


Gajah Mada

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com
ASP.NET courses you may be interested in:

Guerrilla.NET
November 29 - December 03, 204, in London, UK
December 06-10, 2004, in Los Angeles
http://www.develop.com/courses/gdotnetls

Essential .NET: building applications and components with CSharp
November 29 - December 03, 2004, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
ASP.NET courses you may be interested in:

Guerrilla.NET
November 29 - December 03, 204, in London, UK
December 06-10, 2004, in Los Angeles
http://www.develop.com/courses/gdotnetls

Essential .NET: building applications and components with CSharp
November 29 - December 03, 2004, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to