florian
|
375f83c874
* moved heap manager on embedded systems into a separate unit
|
14 years ago |
sergei
|
3e145f6d77
+ RelocateHeap: tolerate being called more than once.
|
14 years ago |
Jonas Maebe
|
7cb1c8b586
* improvement of r16001 so that allocations even closer to high(ptruint)
|
14 years ago |
florian
|
f90acc40d9
* made GetMemory, FreeMemory, ReallocMemory delphi compatible, resolves #17530
|
15 years ago |
Jonas Maebe
|
242016312f
* immediately fail when trying to allocate a memory block whose size falls
|
15 years ago |
Jonas Maebe
|
56f8b88125
* also initialise locgrowheapsizesmall in InitHeapThread, should fix crashes
|
15 years ago |
micha
|
829f8164fc
* rtl/heap: simplify r15618, be more conservative towards memory use, especially since performance improvement is hardly measurable
|
15 years ago |
Jonas Maebe
|
e150c2c521
* dynamically grow the size of oschunks allocated for use by the memory
|
15 years ago |
Jonas Maebe
|
8a891690cc
* prefetch heap status in sysfreemem
|
15 years ago |
micha
|
347d71db10
* rtl/heap: optimization, while looking for a big enough block, also use blocks that are exactly large enough
|
15 years ago |
micha
|
a6e6e9d453
* rtl/heap: fix SysReallocMem corruption in multi-thread use (thanks to Burkhard Carstens, #15323)
|
15 years ago |
Jonas Maebe
|
c1408d164f
* added some prefetch commands based on profile information about
|
15 years ago |
Jonas Maebe
|
0597c300f4
* applied feature dependencies patch by Sven Barth from mantis #13673 :
|
16 years ago |
Jonas Maebe
|
533f533868
* changed destination parameter of getmem/getmemory from "var" to "out"
|
16 years ago |
micha
|
82e9d9009d
* fix memory leak introduced in rev 9696, orphaned os chunks are not reused for short-lived threads (fixes issue #13173)
|
16 years ago |
micha
|
ae8289f9f7
* fix crash in case of main thread exiting simultaneously with other threads (issue #11006)
|
17 years ago |
Jonas Maebe
|
eb83213f10
* Only start recycling oschunks once MaxKeptOSChunks chuncks have
|
17 years ago |
Jonas Maebe
|
588822b14d
* more ptruint type casts to avoid 64 bit comparisons on 32 bit
|
17 years ago |
Jonas Maebe
|
6dd8e51ee5
* folded a constant addition
|
17 years ago |
peter
|
5acb3649df
* revert r9557, the performance impact is to big for an academic corner
|
17 years ago |
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.
|
17 years ago |
yury
|
e00bacdcef
* Removed HAS_MT_MEMORYMANAGER define, since it is obsolete now.
|
17 years ago |
yury
|
eadfbb5027
* Removed unused local variable.
|
17 years ago |
yury
|
b55501afef
* Removed dead code.
|
17 years ago |
Jonas Maebe
|
b02fd37fbe
* removed some unused variables
|
18 years ago |
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)
|
18 years ago |
daniel
|
0c3a2a257d
* Convert heap to ptruint.
|
18 years ago |
micha
|
b8822c88b5
* fix heap manager adding to wrong free list, and race condition
|
18 years ago |
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 |