diff options
author | Justus Winter <[email protected]> | 2016-11-15 10:03:30 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-11-15 10:10:56 +0000 |
commit | 64a58e23c38db8658423bbe26fcd650330e24a88 (patch) | |
tree | 7caf7ab5219a706198df3907d9e2e68da474ae9c /dirmngr/cdblib.c | |
parent | gpgscm: Recover more cells. (diff) | |
download | gnupg-64a58e23c38db8658423bbe26fcd650330e24a88.tar.gz gnupg-64a58e23c38db8658423bbe26fcd650330e24a88.zip |
gpgscm: Mark cells requiring finalization.
* tests/gpgscm/scheme.c (T_FINALIZE): New macro.
(mk_port): Use the new macro.
(mk_foreign_object): Likewise.
(mk_counted_string): Likewise.
(mk_empty_string): Likewise.
(gc): Only call 'finalize_cell' for cells with the new flag.
--
This speeds up the sweep phase of the garbage collector considerably
because most cells do not require finalization.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'dirmngr/cdblib.c')
0 files changed, 0 insertions, 0 deletions