aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/instrs.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-04-12 12:58:31 +0200
committerBjörn Gustavsson <[email protected]>2019-04-12 15:07:38 +0200
commitf8d1787cd7accb1e6aabeec43bb7eaec66467852 (patch)
tree6981f78887943bc4c6f2ba9918c6daa8f172c269 /erts/emulator/beam/instrs.tab
parent2263ba94602fa204981254b143eb722bf8ab81b3 (diff)
downloadotp-f8d1787cd7accb1e6aabeec43bb7eaec66467852.tar.gz
otp-f8d1787cd7accb1e6aabeec43bb7eaec66467852.tar.bz2
otp-f8d1787cd7accb1e6aabeec43bb7eaec66467852.zip
crash dump: Include correct IP for a garbing process
Make sure that the instruction pointer is correct for a garbing process in a crash dump.
Diffstat (limited to 'erts/emulator/beam/instrs.tab')
-rw-r--r--erts/emulator/beam/instrs.tab2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/instrs.tab b/erts/emulator/beam/instrs.tab
index 692408e212..462ee77e6f 100644
--- a/erts/emulator/beam/instrs.tab
+++ b/erts/emulator/beam/instrs.tab
@@ -1001,7 +1001,7 @@ catch_end(Y) {
}
/* only x(2) is included in the rootset here */
if (E - HTOP < 3) {
- SWAPOUT;
+ $GC_SWAPOUT();
PROCESS_MAIN_CHK_LOCKS(c_p);
FCALLS -= erts_garbage_collect_nobump(c_p, 3, reg+2, 1, FCALLS);
ERTS_VERIFY_UNUSED_TEMP_ALLOC(c_p);