purpose of mempools?

purpose of mempools?

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

purpose of mempools?

Post by abma » 07 Jun 2017, 21:53

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
3 x

Post Reply

Return to “Dedicated Developer Discussion”