int_cst_hash_table mapping persistence and the garbage collector

Gary Funck gary@intrepid.com
Thu Oct 13 09:04:00 GMT 2011


On 10/13/11 06:15:31, Laurynas Biveinis wrote:
> [...] In your case (correct me if I misunderstood something)
> you have one hash table, marking of which will mark more objects
> which are required for the correct marking of the second hash table.
> GC might be simply walking the second one first.

Yes, I think that this accurately summarizes the situation, and the result.

Any suggestions on how to fix this?  It seems that one fix might
be to use a non garbage-collected hash table for the hash map.

- Gary



More information about the Gcc-patches mailing list