mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-26 13:55:40 +03:00
Tests: Shouldn't be able to change global slowness.
This can help ensure that we don't leave slowness changes behind in case of resource exhaustion.
This commit is contained in:
parent
59e371f463
commit
0379235f47
3 changed files with 19 additions and 1 deletions
|
|
@ -117,6 +117,7 @@ void tsd_slow_update(tsd_t *tsd);
|
|||
*/
|
||||
void tsd_global_slow_inc(tsdn_t *tsdn);
|
||||
void tsd_global_slow_dec(tsdn_t *tsdn);
|
||||
bool tsd_global_slow();
|
||||
|
||||
enum {
|
||||
/* Common case --> jnz. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue