Get rid of locks in prof recent test

This commit is contained in:
Yinan Zhang
2020-04-06 16:19:53 -07:00
parent 2deabac079
commit c4e9ea8cc6
3 changed files with 32 additions and 61 deletions

View File

@@ -9,7 +9,7 @@ void edata_prof_recent_alloc_init(edata_t *edata);
#ifdef JEMALLOC_JET
typedef ql_head(prof_recent_t) prof_recent_list_t;
extern prof_recent_list_t prof_recent_alloc_list;
prof_recent_t *edata_prof_recent_alloc_get(tsd_t *tsd, const edata_t *edata);
prof_recent_t *edata_prof_recent_alloc_get_no_lock(const edata_t *edata);
#endif
#endif /* JEMALLOC_INTERNAL_PROF_RECENT_EXTERNS_H */