Re: Write Barrier
Jan Kotas <[email protected]> Mon, 1 Nov 2004 14:46:18 -0800
| Newsgroups | gmane.comp.windows.devel.dotnet.rotor |
|---|---|
| Message-ID | <A21210363B64FE44842335467A883AA9037D9D42@RED-MSG-43.redmond.corp.microsoft.com> |
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.=20
-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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This list is hosted by DevelopMentor=AE 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