diff options
author | Rickard Green <[email protected]> | 2016-12-16 16:35:57 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-12 15:22:27 +0100 |
commit | d0e88c0c69f94625daf9cafa192bac97115e9072 (patch) | |
tree | 8ff899de94a8cf29adab85a5c085147f946aa983 /erts/emulator/beam/bif.c | |
parent | 04e119e22a68d686b9e8df17c0a4836c4a5b91ea (diff) | |
download | otp-d0e88c0c69f94625daf9cafa192bac97115e9072.tar.gz otp-d0e88c0c69f94625daf9cafa192bac97115e9072.tar.bz2 otp-d0e88c0c69f94625daf9cafa192bac97115e9072.zip |
Perform potentially long GC on dirty schedulers if available
Diffstat (limited to 'erts/emulator/beam/bif.c')
-rw-r--r-- | erts/emulator/beam/bif.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c index cae346267c..a5b66db35c 100644 --- a/erts/emulator/beam/bif.c +++ b/erts/emulator/beam/bif.c @@ -3865,13 +3865,6 @@ BIF_RETTYPE now_0(BIF_ALIST_0) /**********************************************************************/ -BIF_RETTYPE garbage_collect_0(BIF_ALIST_0) -{ - FLAGS(BIF_P) |= F_NEED_FULLSWEEP; - erts_garbage_collect(BIF_P, 0, NULL, 0); - return am_true; -} - /* * Pass atom 'minor' for relaxed generational GC run. This is only * recommendation, major run may still be chosen by VM. @@ -4324,7 +4317,7 @@ BIF_RETTYPE group_leader_2(BIF_ALIST_2) erts_smp_proc_unlock(new_member, ERTS_PROC_LOCK_STATUS); if (new_member == BIF_P || !(erts_smp_atomic32_read_nob(&new_member->state) - & (ERTS_PSFLG_DIRTY_RUNNING|ERTS_PSFLG_DIRTY_RUNNING_SYS))) { + & ERTS_PSFLG_DIRTY_RUNNING)) { new_member->group_leader = STORE_NC_IN_PROC(new_member, BIF_ARG_1); } |