forked from 0ad/0ad
janwas
0748c5a75e
replace array-of-pages data structure with demand-committed VM => allows simple allocation of new resources without having to search for the first free index. I suspect the cause of multiple reported bugs (refs #860, #899, #915) was a race. Most issues are fixed, but the pool's freelist also needs to be made thread-safe and lock-free. this has performance and 64-bit portability implications, so I'll leave it for later (Pool is due for some serious refactoring anyway). please post a comment if this or similar issues persist. This was SVN commit r9961. |
||
---|---|---|
.. | ||
tests | ||
aligned_allocator.h | ||
allocator_checker.h | ||
bucket.cpp | ||
bucket.h | ||
dynarray.cpp | ||
dynarray.h | ||
freelist.cpp | ||
freelist.h | ||
headerless.cpp | ||
headerless.h | ||
overrun_protector.h | ||
page_aligned.cpp | ||
page_aligned.h | ||
pool.cpp | ||
pool.h | ||
shared_ptr.cpp | ||
shared_ptr.h | ||
unique_range.cpp | ||
unique_range.h |