0ad/source/lib/allocators
janwas 0748c5a75e cleanup and simplification of the really old h_mgr code.
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.
2011-08-04 17:11:16 +00:00
..
tests cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
aligned_allocator.h reinstate aligned_allocator.h (required at work) 2011-05-23 14:10:45 +00:00
allocator_checker.h ENSURE(0) -> DEBUG_WARN_ERR(ERR::LOGIC) (a bit smaller, and more descriptive) 2011-05-04 12:10:17 +00:00
bucket.cpp cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
bucket.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
dynarray.cpp fix self-test and map load on Windows (avoid mixing dir separators). 2011-05-06 18:45:30 +00:00
dynarray.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
freelist.cpp cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
freelist.h split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
headerless.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
headerless.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
overrun_protector.h cleanup (requires update-workspaces): 2011-04-30 12:34:28 +00:00
page_aligned.cpp cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
page_aligned.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
pool.cpp cleanup and simplification of the really old h_mgr code. 2011-08-04 17:11:16 +00:00
pool.h pool - safely handle zero-sized allocations (fixes #909) 2011-07-31 09:42:57 +00:00
shared_ptr.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
shared_ptr.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
unique_range.cpp post-alpha sync with work. 2011-07-18 09:21:56 +00:00
unique_range.h post-alpha sync with work. 2011-07-18 09:21:56 +00:00