diff options
author | John Högberg <[email protected]> | 2018-02-19 18:04:01 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-02-26 08:29:38 +0100 |
commit | a92c200af89b9b1f35db26ae8e13333af5638e15 (patch) | |
tree | 722acd8e982956b9d899f5d75be6ce674909a635 /erts/emulator/pcre/pcre_xclass.c | |
parent | 24b67adabd6e31ae8f2bb529d4f1cd5d6fdf1b1c (diff) | |
download | otp-a92c200af89b9b1f35db26ae8e13333af5638e15.tar.gz otp-a92c200af89b9b1f35db26ae8e13333af5638e15.tar.bz2 otp-a92c200af89b9b1f35db26ae8e13333af5638e15.zip |
Make enif_make_binary return heap binaries if possible
This does not avoid allocating a ProcBin since we still need to
release the binary somehow (and using the tmp obj list is slightly
slower since it's an unavoidable off-heap allocation), but it does give
us a hard limit on how long said ProcBin will live, which is a lot
better than before.
OTP-14845
Diffstat (limited to 'erts/emulator/pcre/pcre_xclass.c')
0 files changed, 0 insertions, 0 deletions