diff options
author | Björn Gustavsson <[email protected]> | 2011-03-31 08:19:21 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-08-16 08:58:48 +0200 |
commit | 19713d214462b863def874385844521f00a2bac5 (patch) | |
tree | b750efbf15db4cdb643da8fb3e97c33f94da12f2 /lib/compiler/src/v3_kernel.erl | |
parent | 3a7e7db5280dfdc7ef6488fb66a2cf60950ca34c (diff) | |
download | otp-19713d214462b863def874385844521f00a2bac5.tar.gz otp-19713d214462b863def874385844521f00a2bac5.tar.bz2 otp-19713d214462b863def874385844521f00a2bac5.zip |
Delay saving of the stack in exit_info when an exception occurs
When an exception occurs, the entire stack will be converted to
the external term format and kept in the exit_info variable in
the process dictionary. But the exit_info variable will only be
needed if the exception causes the process to terminate (not if
it is caught).
Delay the conversion of the stack to external format. That can
save significant amounts of time (e.g. in bs_construct:mem_leak/1).
Diffstat (limited to 'lib/compiler/src/v3_kernel.erl')
0 files changed, 0 insertions, 0 deletions