yury
|
0dcad4d822
* Implemented late thread manager initialization. Thread manager code is not included to executable if thread stuff are not used. WinCE executable size is reduced by 4KB, Win32 executable size is reduced by 3KB. No testsuite regressions.
|
hace 17 años |
yury
|
e00bacdcef
* Removed HAS_MT_MEMORYMANAGER define, since it is obsolete now.
|
hace 17 años |
yury
|
eadfbb5027
* Removed unused local variable.
|
hace 17 años |
yury
|
b55501afef
* Removed dead code.
|
hace 17 años |
Jonas Maebe
|
b02fd37fbe
* removed some unused variables
|
hace 18 años |
Legolas
|
87d67dcad6
* gba and nds work with new heap manager now (no need for a custom heap manager that allocates a single big block anymore)
|
hace 18 años |
daniel
|
0c3a2a257d
* Convert heap to ptruint.
|
hace 18 años |
micha
|
b8822c88b5
* fix heap manager adding to wrong free list, and race condition
|
hace 18 años |
micha
|
cd1a283a18
* fix heap var size chunk search to be as intended (search constant number of blocks from best, not from any bigger)
|
hace 18 años |
micha
|
afb5f32f65
* fix heap block recycle flag when orphaning
|
hace 18 años |
micha
|
787f9a44c7
* heap manager: do not try to leave critical section twice, moron
|
hace 18 años |
micha
|
c0fa8fd255
* heap manager: fix thread exit race condition by using single global lock
|
hace 18 años |
micha
|
c226f6fd44
* heap manager: handle freeing of block owned by exited thread
|
hace 18 años |
Jonas Maebe
|
20b99dade3
- reverted r7600, see additional comments in mantis #9027
|
hace 18 años |
Jonas Maebe
|
5a8679131f
+ support for new/dispose with extra size parameter in macpas mode
|
hace 18 años |
micha
|
f3a22cbab4
* simplify/remove some code
|
hace 18 años |
micha
|
eaa598094e
* heap manager: do not access chunk after last one
|
hace 18 años |
micha
|
0248d2472d
* heap manager: fix os chunk list nonsense
|
hace 18 años |
micha
|
f9d2ea7e3a
* heap manager: fix shrinking var sized chunks to very small sizes < sizeof(tmemchunk_var)
|
hace 18 años |
micha
|
9f11556f10
* flush output after heap debug writeln at exit
|
hace 18 años |
micha
|
6c85fcb157
heap manager: initialize critical sections properly
|
hace 18 años |
micha
|
7f2a257102
+ heap manager now per thread, reduce heap lock contention
|
hace 18 años |
micha
|
bb9de8f193
* SHOW_MEM_USAGE define to always show maximum heap size used/allocated, independent of DUMP_MEM_USAGE
|
hace 18 años |
micha
|
4579c242df
* heap manager: look for better matching variable block size, with upperbound search
|
hace 18 años |
micha
|
aa951460a5
+ heap manager size statistics
|
hace 18 años |
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
|
hace 18 años |
micha
|
9c727d1762
* tiny optimization to heap manager, avoid repeated removing/readding to freeoslist overhead
|
hace 18 años |
micha
|
e30a47723b
* heap manager micro optimizations
|
hace 18 años |
micha
|
9bdde01a99
* avoid usage of freelists_free_chunk boolean, while still prevent repeated fixed size conversion overhead; should reduce memory usage in some cases
|
hace 18 años |
yury
|
3c10856a4f
* Dont throw runerrors in default MemoryMutexManager if HAS_MT_MEMORYMANAGER is defined.
|
hace 18 años |