Jason Evans 10e4523094 Fix a heap dumping deadlock.
Restructure the ctx initialization code such that the ctx isn't locked
across portions of the initialization code where allocation could occur.
Instead artificially inflate the cnt_merged.curobjs field, just as is
done elsewhere to avoid similar races to the one that would otherwise be
created by the reduction in locking scope.

This bug affected interval- and growth-triggered heap dumping, but not
manual heap dumping.
2011-01-14 17:27:44 -08:00
..
2010-09-11 18:20:16 -07:00
2010-11-30 16:50:58 -08:00
2010-09-20 16:05:41 -07:00
2010-11-30 16:50:58 -08:00
2010-11-30 16:50:58 -08:00
2010-09-20 19:20:48 -07:00
2010-12-29 12:21:05 -08:00
2010-02-28 15:00:18 -08:00
2010-02-11 14:45:59 -08:00
2010-11-30 16:50:58 -08:00
2010-12-17 18:07:53 -08:00
2010-02-11 14:45:59 -08:00
2011-01-14 17:27:44 -08:00
2010-09-11 18:20:16 -07:00