Jason Evans 04211e2266 Fix heap profiling regressions.
Remove the prof_tctx_state_destroying transitory state and instead add
the tctx_uid field, so that the tuple <thr_uid, tctx_uid> uniquely
identifies a tctx.  This assures that tctx's are well ordered even when
more than two with the same thr_uid coexist.  A previous attempted fix
based on prof_tctx_state_destroying was only sufficient for protecting
against two coexisting tctx's, but it also introduced a new dumping
race.

These regressions were introduced by
602c8e0971160e4b85b08b16cf8a2375aa24bc04 (Implement per thread heap
profiling.) and 764b00023f2bc97f240c3a758ed23ce9c0ad8526 (Fix a heap
profiling regression.).
2015-03-16 15:11:06 -07:00
..
2014-12-08 16:34:04 -08:00
2012-02-28 16:50:47 -08:00
2014-09-04 22:27:26 -07:00
2015-03-16 15:11:06 -07:00
2014-12-08 16:34:04 -08:00
2014-12-08 16:34:04 -08:00
2014-11-07 14:50:38 -08:00
2014-12-08 16:34:04 -08:00
2015-03-11 23:14:50 -07:00
2015-02-04 16:51:53 -08:00
2014-09-10 21:49:42 -04:00