[M3devel] REFANY-keyed tables?

Rodney M. Bates rodney_bates at lcwb.coop
Thu Feb 27 04:35:36 CET 2014


Tony, I see that Refany.Equal does not raise an exception, but rather just checks
pointer equality.  Is it true, as this would require, that parallel GC prevents
a mutator from executing this during the period when some but not all of the
pointers to a being-moved heap object have been updated?

On 02/26/2014 11:08 AM, JC Chu wrote:
> Hi,
>
> I need a REFANY-to-INTEGER table in my program but RefIntTbl.Default is giving me runtime errors.  Apparently Table(Key, Value) uses Key.Equal() and Key.Hash(), but those procedures in Refany, which is use to instantiate RefIntTbl, both raise a fatal exception.
>
> I’m a bit confused since a number of REFANY-keyed tables are shipped with CM3.  Is this actually the expected behavior or am I doing anything wrong?
>
> Thanks.
>
> — JC Chu
>




More information about the M3devel mailing list