The Hoard Memory Allocator
hoard.org
The Hoard Memory Allocator
1–10 of 21 posts
Re: The Hoard Memory Allocator
#2Re: The Hoard Memory Allocator
#3A practical problem we have with Hoard is that it lacks diagnostics. By diagnostics I mean extensive heap reports, fragmentation information, free space, what's the largest block I can safely allocate, give me a callback for every malloc so I can do stats tracking, etc.
Re: The Hoard Memory Allocator
#4I see the license is both GPLv2 and proprietary for commercial use. I was unaware that licensing could be done that way. Is that a valid use of GPL?
The main issue with that is that you have some problems with accepting external contributions - you need a copyright assignment process, which is difficult to do internationally and a hurdle for contributors to overcome.
Re: The Hoard Memory Allocator
#5I see the license is both GPLv2 and proprietary for commercial use. I was unaware that licensing could be done that way. Is that a valid use of GPL?
Re: The Hoard Memory Allocator
#6I see the license is both GPLv2 and proprietary for commercial use. I was unaware that licensing could be done that way. Is that a valid use of GPL?
All patch contributors who initially chose GPL side of dual licensing model should sign copyright disclaimer for their patches, otherwise their code won't be accepted into the main repository. Alternatively, patchmaker may execute his/her GPL rights and fork the project (e.g. Percona).
Re: The Hoard Memory Allocator
#7An alternative is tcmalloc by Google:
Re: The Hoard Memory Allocator
#8Re: The Hoard Memory Allocator
#9I see the license is both GPLv2 and proprietary for commercial use. I was unaware that licensing could be done that way. Is that a valid use of GPL?
If you are the sole copyright holder (because you are the only person who worked on a project, or because all others assigned their rights to you) then you are allowed to provide any additional licenses besides the GPL. A lot of open source projects (see Qt, MySQL and a bunch of others) work this way, only accepting patches from the community if the patches come with a copyright assignment. This allows them to charge for closed source use of the library while at the same time allowing the open source community to benefit.
Re: The Hoard Memory Allocator
#10Unfortunately their performance comparison does not include modern memory allocators like tcmalloc or jemalloc.