purpose of mempools?

purpose of mempools?

Discussion between Spring developers.
Post Reply
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

purpose of mempools?

Post by abma »

recently a lot of commits where made which added mempools to several stuff to the engine, why were these added?

i currently can only see some drawbacks:
- detecting memleaks is more difficult / as it can't be disabled it seems
- spring uses more memory as it used before (the validation test failed because of that, now it fails because sth. other)
- its more code
- libstdc++ seems to use already memory caching (=mempool?!) so the real benefit possible is much smaller than excepted (see the env var GLIBCPP_FORCE_NEW)

edit: maybe see https://github.com/spring/spring/commit ... t-22605128
Post Reply

Return to “Dedicated Developer Discussion”