On 5/12/2014 4:35 AM, bearophile wrote:
I suggested to add an optional method named "onGC" to unions that if present is
called at run-time by the GC to know what's the real type of stored data, to
make tracing more precise.

Unions of pointers are so rare in actual code that treating them conservatively is not a big problem.

Reply via email to