| 248 | } |
| 249 | |
| 250 | static bool |
| 251 | prof_recent_alloc_is_empty(tsd_t *tsd) { |
| 252 | malloc_mutex_assert_owner(tsd_tsdn(tsd), &prof_recent_alloc_mtx); |
| 253 | if (ql_empty(&prof_recent_alloc_list)) { |
| 254 | assert(prof_recent_alloc_count == 0); |
| 255 | return true; |
| 256 | } else { |
| 257 | assert(prof_recent_alloc_count > 0); |
| 258 | return false; |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | static void |
| 263 | prof_recent_alloc_assert_count(tsd_t *tsd) { |
no test coverage detected