1. 18 Oct, 2019 1 commit
    • Etienne Renault's avatar
      fixpool: propose alternative policy · d998f613
      Etienne Renault authored
      In 3fe74f1c, fixed_size_pool was changed in order to
      help memcheck to detect "potential" memory leaks. In a
      multithreaded context, this could raise false alarm. To
      solve this, we proprose 2 policies for the pool, one with
      the check and one without.
      
      * spot/misc/fixpool.cc: deleted ...
      * spot/ltsmin/ltsmin.cc, spot/ltsmin/spins_kripke.hh,
      spot/mc/deadlock.hh, spot/misc/Makefile.am,
      spot/misc/fixpool.cc, spot/misc/fixpool.hh,
      spot/priv/allocator.hh, spot/ta/tgtaproduct.cc,
      spot/ta/tgtaproduct.hh, spot/twa/twaproduct.cc,
      spot/twa/twaproduct.hh, tests/core/mempool.cc: Here.
      d998f613
  2. 20 Jun, 2018 1 commit
    • Maximilien Colange's avatar
      add a pool allocator for STL containers · c9131aee
      Maximilien Colange authored
      * spot/priv/allocator.hh, spot/priv/Makefile.am: add a STL-compliant
        allocator based on spot::fixed_size_pool
      * spot/misc/fixpool.hh, spot/misc/fixpool.cc, spot/misc/Makefile.am:
        refactor the existing spot::fixed_size_pool
      * spot/ltsmin/ltsmin.cc, spot/twa/twaproduct.cc: reflect changes in the
        interface of spot::fixed_size_pool
      * tests/core/mempool.cc: test the new allocator
      c9131aee