aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2012-08-02 17:35:13 +0200
committerRickard Green <[email protected]>2012-08-02 17:35:13 +0200
commit10c218e71f30754be31d8091a9e98f3946ec991d (patch)
tree023a854fc24e2866ba6718ae7078d2c20232fe3c /erts/emulator
parenta8eb459c1dd006ad73d5cb0f6b2a43067ec1fe5a (diff)
downloadotp-10c218e71f30754be31d8091a9e98f3946ec991d.tar.gz
otp-10c218e71f30754be31d8091a9e98f3946ec991d.tar.bz2
otp-10c218e71f30754be31d8091a9e98f3946ec991d.zip
Remove development debug code
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_process.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index e7c8e0541f..c74f8f131f 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -4560,23 +4560,13 @@ schedule_process(Process *p, erts_aint32_t state, int active_enq)
return; /* Someone else activated process ... */
}
-#ifdef RRR_DEBUG
- if (active_enq)
- erts_fprintf(stderr, "! state=0x%x\n", n);
-#endif
-
if (erts_system_profile_flags.runnable_procs
&& !(a & (ERTS_PSFLG_ACTIVE|ERTS_PSFLG_SUSPENDED))) {
profile_runnable_proc(p, am_active);
}
- if ((n & ERTS_PSFLG_IN_RUNQ) && !(a & ERTS_PSFLG_IN_RUNQ)) {
-#ifdef RRR_DEBUG
- if (active_enq)
- erts_fprintf(stderr, "-->\n");
-#endif
+ if ((n & ERTS_PSFLG_IN_RUNQ) && !(a & ERTS_PSFLG_IN_RUNQ))
add2runq(p, n);
- }
}
void
@@ -4646,9 +4636,6 @@ resume_process(Process *p)
state = erts_smp_atomic32_read_band_mb(&p->state, ~ERTS_PSFLG_SUSPENDED);
state &= ~ERTS_PSFLG_SUSPENDED;
-#ifdef RRR_DEBUG
- erts_fprintf(stderr, "%T - state=0x%x\n", p->id, state);
-#endif
if ((state & (ERTS_PSFLG_EXITING
| ERTS_PSFLG_ACTIVE
| ERTS_PSFLG_IN_RUNQ