Project

General

Profile

« Previous | Next » 

Revision 31ba8816

Added by byroot (Jean Boussier) 6 months ago

Disable GC when building id2ref table

Building that table will likely malloc several time which
can trigger GC and cause race condition by freeing objects
that were just added to the table.

Disabling GC to prevent the race condition isn't elegant,
but iven this is a deprecated callpath that is executed at
most once per process, it seems acceptable.