Jason Evans 39f58755a7 Fix a potential tsd cleanup leak.
Prior to 767d85061a6fb88ec977bbcd9b429a43aff391e6 (Refactor arenas array
(fixes deadlock).), it was possible under some circumstances for
arena_get() to trigger recreation of the arenas cache during tsd
cleanup, and the arenas cache would then be leaked.  In principle a
similar issue could still occur as a side effect of decay-based purging,
which calls arena_tdata_get().  Fix arenas_tdata_cleanup() by setting
tsd->arenas_tdata_bypass to true, so that arena_tdata_get() will
gracefully fail (an expected behavior) rather than recreating
tsd->arena_tdata.

Reported by Christopher Ferris <cferris@google.com>.
2016-02-27 21:18:15 -08:00
..
2016-02-26 14:21:10 -08:00
2015-09-15 11:19:20 -07:00
2015-11-09 15:48:05 -08:00
2016-02-27 21:18:15 -08:00
2015-06-25 22:53:58 +02:00
2016-02-21 21:39:05 -08:00
2015-08-12 10:26:54 -07:00
2015-03-11 23:14:50 -07:00
2016-02-19 20:29:06 -08:00
2014-04-15 16:49:57 -07:00
2015-11-12 10:45:49 -08:00