aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-12-07 09:18:26 +0100
committerJohn Högberg <[email protected]>2017-12-07 09:18:26 +0100
commit3983aeba3ddde9f6256478e878d75f1acf61eb52 (patch)
tree247bd461ac55ebddd1aeb2dd2f8e90f4b6a8f522
parentad484fc2003885e12b92ea49dcb1c71669761d62 (diff)
parentd577018a76db8382421bcc6e7ed2dd2717867302 (diff)
downloadotp-3983aeba3ddde9f6256478e878d75f1acf61eb52.tar.gz
otp-3983aeba3ddde9f6256478e878d75f1acf61eb52.tar.bz2
otp-3983aeba3ddde9f6256478e878d75f1acf61eb52.zip
Merge branch 'john/erts/fix-debug-dirty-nif-tracing'
-rw-r--r--erts/emulator/beam/erl_nif.c2
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