dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Null check elimination & other stuff


From: Rhys Weatherley
Subject: Re: [DotGNU]Null check elimination & other stuff
Date: Wed, 16 Jun 2004 06:18:03 +1000
User-agent: KMail/1.4.3

On Wednesday 16 June 2004 02:30 am, Thong (Tum) Nguyen wrote:

> Weird.  Is it possible to simply mark the first page as not readable?

You can probably use mprotect to change the permissions on the zero page.  
Have a look at Kaffe.  I seem to recall that it does this on some platforms.

Anyway, it is OK to do manual null checks on platforms where it is too hard to 
do the tricky null checks.

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]