diff options
author | Björn Gustavsson <[email protected]> | 2018-10-08 07:47:35 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-10-29 13:27:47 +0100 |
commit | 7d92a5c7be185e549bdd8ad56524d2bd3f9479a6 (patch) | |
tree | 18a203e963cb07b763f9574831595073c41dd299 /erts/emulator/beam/global.h | |
parent | d6e8bddde0887894ae70cc2c6d4230532801bf97 (diff) | |
download | otp-7d92a5c7be185e549bdd8ad56524d2bd3f9479a6.tar.gz otp-7d92a5c7be185e549bdd8ad56524d2bd3f9479a6.tar.bz2 otp-7d92a5c7be185e549bdd8ad56524d2bd3f9479a6.zip |
Refactor releasing of literals
Introudce erts_queue_release_literals() to queue a literal area to be
released.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 9fc5abbf68..54d309ff2f 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -906,6 +906,8 @@ typedef struct ErtsLiteralArea_ { Eterm start[1]; /* beginning of area */ } ErtsLiteralArea; +void erts_queue_release_literals(Process *c_p, ErtsLiteralArea* literals); + #define ERTS_LITERAL_AREA_ALLOC_SIZE(N) \ (sizeof(ErtsLiteralArea) + sizeof(Eterm)*((N) - 1)) |