[M3devel] Re: RTHooks CheckStoreTraced and CheckLoadTraced

Tony Hosking hosking at cs.purdue.edu
Wed Apr 18 16:43:32 CEST 2007


PS There is no fix to RTTypeMap needed here so long as you use the  
correct idiom as described earlier.  This is unsafe code so you are  
expected to behave properly by the runtime system.

On Apr 18, 2007, at 9:25 AM, Tony Hosking wrote:

>
> On Apr 17, 2007, at 9:51 PM, Darko wrote:
>
>> Hi,
>>
>> Wondering if you can explain the use of these calls a little more.  
>> I'm currently using type maps to read and write fields from traced  
>> objects. Reading a traced reference from inside a traced object  
>> into a local variable is not working as it should. Should I use  
>> CheckLoadTraced and if so when and how? Looking at your changes to  
>> RTTypeMap, writing references into objects means you need to call  
>> CheckStoreTraced on the object written inside of, before it is  
>> written?
>>
>
> It seems I need a check on load of a traced reference in  
> RTTypeMap.Walk.  SHould be a straightforward fix.  I'll e-mail once  
> I've checked it in (the CVS mailer is broken again I think).
>
>> Cheers,
>> Darko.
>
> _______________________________________________
> M3devel mailing list
> M3devel at elegosoft.com
> https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel




More information about the M3devel mailing list