diff options
author | John Högberg <[email protected]> | 2017-12-07 09:18:26 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2017-12-07 09:18:26 +0100 |
commit | 3983aeba3ddde9f6256478e878d75f1acf61eb52 (patch) | |
tree | 247bd461ac55ebddd1aeb2dd2f8e90f4b6a8f522 /erts/emulator | |
parent | ad484fc2003885e12b92ea49dcb1c71669761d62 (diff) | |
parent | d577018a76db8382421bcc6e7ed2dd2717867302 (diff) | |
download | otp-3983aeba3ddde9f6256478e878d75f1acf61eb52.tar.gz otp-3983aeba3ddde9f6256478e878d75f1acf61eb52.tar.bz2 otp-3983aeba3ddde9f6256478e878d75f1acf61eb52.zip |
Merge branch 'john/erts/fix-debug-dirty-nif-tracing'
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_nif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif.c b/erts/emulator/beam/erl_nif.c index abb490cf9c..0a5fe026db 100644 --- a/erts/emulator/beam/erl_nif.c +++ b/erts/emulator/beam/erl_nif.c @@ -562,7 +562,7 @@ void enif_clear_env(ErlNifEnv* env) #ifdef DEBUG static int enif_send_delay = 0; -#define ERTS_FORCE_ENIF_SEND_DELAY() (enif_send_delay++ % 2 == 0) +#define ERTS_FORCE_ENIF_SEND_DELAY() (enif_send_delay++ % 32 == 0) #else #ifdef ERTS_PROC_LOCK_OWN_IMPL #define ERTS_FORCE_ENIF_SEND_DELAY() 0 |