[dovecot/core] cbe4d8: lib: remove support for Boehm GC

GitHub noreply at github.com
Fri Jul 7 11:00:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: cbe4d8212ec8b9014ae7ae892e90abb98a15d797
      https://github.com/dovecot/core/commit/cbe4d8212ec8b9014ae7ae892e90abb98a15d797
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-07-07 (Fri, 07 Jul 2017)

  Changed paths:
    M configure.ac
    M doc/securecoding.txt
    R m4/gc.m4
    M src/lib/data-stack.c
    M src/lib/mempool-alloconly.c
    M src/lib/mempool-system.c

  Log Message:
  -----------
  lib: remove support for Boehm GC

There were several issues with our usage of Boehm GC:

 - it didn't help with memory fragmentation
 - it is not very efficient
 - it was rarely enabled & used

Proper use of a GC would involve radical changes to how we write code
and cause portability issues.  We can get most of the benefits of a GC
with data stacks and alloc-only memory pools.




More information about the dovecot-cvs mailing list