Commit History

Author SHA1 Message Date
  micha cd1a283a18 * fix heap var size chunk search to be as intended (search constant number of blocks from best, not from any bigger) 18 years ago
  micha afb5f32f65 * fix heap block recycle flag when orphaning 18 years ago
  micha 787f9a44c7 * heap manager: do not try to leave critical section twice, moron 18 years ago
  micha c0fa8fd255 * heap manager: fix thread exit race condition by using single global lock 18 years ago
  micha c226f6fd44 * heap manager: handle freeing of block owned by exited thread 18 years ago
  Jonas Maebe 20b99dade3 - reverted r7600, see additional comments in mantis #9027 18 years ago
  Jonas Maebe 5a8679131f + support for new/dispose with extra size parameter in macpas mode 18 years ago
  micha f3a22cbab4 * simplify/remove some code 18 years ago
  micha eaa598094e * heap manager: do not access chunk after last one 18 years ago
  micha 0248d2472d * heap manager: fix os chunk list nonsense 18 years ago
  micha f9d2ea7e3a * heap manager: fix shrinking var sized chunks to very small sizes < sizeof(tmemchunk_var) 18 years ago
  micha 9f11556f10 * flush output after heap debug writeln at exit 18 years ago
  micha 6c85fcb157 heap manager: initialize critical sections properly 18 years ago
  micha 7f2a257102 + heap manager now per thread, reduce heap lock contention 18 years ago
  micha bb9de8f193 * SHOW_MEM_USAGE define to always show maximum heap size used/allocated, independent of DUMP_MEM_USAGE 18 years ago
  micha 4579c242df * heap manager: look for better matching variable block size, with upperbound search 18 years ago
  micha aa951460a5 + heap manager size statistics 18 years ago
  micha 09a60a4019 * tiny optimization to heap manager: implement freeoslist as a fifo (instead of lifo) which should allow more os chunks to keep their fixed size formatting in case of diverse fixed size usage 18 years ago
  micha 9c727d1762 * tiny optimization to heap manager, avoid repeated removing/readding to freeoslist overhead 18 years ago
  micha e30a47723b * heap manager micro optimizations 18 years ago
  micha 9bdde01a99 * avoid usage of freelists_free_chunk boolean, while still prevent repeated fixed size conversion overhead; should reduce memory usage in some cases 18 years ago
  yury 3c10856a4f * Dont throw runerrors in default MemoryMutexManager if HAS_MT_MEMORYMANAGER is defined. 18 years ago
  Legolas 9e6d19a494 * rtl part of first Nintendo DS port 19 years ago
  Jonas Maebe 64b7f00afd * fixed ReturnNilIfGrowHeapFails 19 years ago
  micha dc3b37ff73 + heap manager: reduce overhead on fixed size chunks from 8 to 4 19 years ago
  Legolas 19d597f425 * Reactivated heap management for GBA 19 years ago
  florian d337c3ca6a * clean up heap at exit, fixes #7183 19 years ago
  peter b3732f7215 * keep same fixed block, also if we resize to a smaller size. 19 years ago
  yury e062922528 * added an option to use target-specific memory manager instead of standard. This is controlled by HAS_MEMORYMANAGER and HAS_MT_MEMORYMANAGER defines. 19 years ago
  florian 5575a837db * gba patch from Francesco Lombardi 19 years ago