sergei
|
8ad5e6fb26
- RTL: cleaned out FPC_FREEMEM_X. We now have a dedicated compilerproc 'fpc_freemem' for this purpose.
|
před 11 roky |
nickysn
|
4e2962e6ae
- do not initialize the regular heap manager under i8086-msdos, so it can be smartlinked away
|
před 12 roky |
pierre
|
503b8c73c2
Avoid infinite loops with RTE 204 if heap is corrupted
|
před 12 roky |
Jonas Maebe
|
198625af47
* fixed memory statistics after try_concat_free_chunk_forward() concatenated
|
před 13 roky |
florian
|
6a1a2d3464
* get rid of some feature checks, probably the whole feature stuff is plainly the wrong way, embedded rtl compiles again, resolves #20913
|
před 13 roky |
sergei
|
bcbd25568e
* Call InitHeap before InitSystemThreads in TLS callback (necessary because InitSystemThreads calls RelocateHeap), and skip both of them in initialization section of system.pp if they have been called from TLS callback. This restores correct initialization sequence which was broken by r19779, resulting in lots of debug messages about corrupted heap when running tests/test/theapthread.pp
|
před 14 roky |
florian
|
375f83c874
* moved heap manager on embedded systems into a separate unit
|
před 14 roky |
sergei
|
3e145f6d77
+ RelocateHeap: tolerate being called more than once.
|
před 14 roky |
Jonas Maebe
|
7cb1c8b586
* improvement of r16001 so that allocations even closer to high(ptruint)
|
před 14 roky |
florian
|
f90acc40d9
* made GetMemory, FreeMemory, ReallocMemory delphi compatible, resolves #17530
|
před 15 roky |
Jonas Maebe
|
242016312f
* immediately fail when trying to allocate a memory block whose size falls
|
před 15 roky |
Jonas Maebe
|
56f8b88125
* also initialise locgrowheapsizesmall in InitHeapThread, should fix crashes
|
před 15 roky |
micha
|
829f8164fc
* rtl/heap: simplify r15618, be more conservative towards memory use, especially since performance improvement is hardly measurable
|
před 15 roky |
Jonas Maebe
|
e150c2c521
* dynamically grow the size of oschunks allocated for use by the memory
|
před 15 roky |
Jonas Maebe
|
8a891690cc
* prefetch heap status in sysfreemem
|
před 15 roky |
micha
|
347d71db10
* rtl/heap: optimization, while looking for a big enough block, also use blocks that are exactly large enough
|
před 16 roky |
micha
|
a6e6e9d453
* rtl/heap: fix SysReallocMem corruption in multi-thread use (thanks to Burkhard Carstens, #15323)
|
před 16 roky |
Jonas Maebe
|
c1408d164f
* added some prefetch commands based on profile information about
|
před 16 roky |
Jonas Maebe
|
0597c300f4
* applied feature dependencies patch by Sven Barth from mantis #13673 :
|
před 16 roky |
Jonas Maebe
|
533f533868
* changed destination parameter of getmem/getmemory from "var" to "out"
|
před 16 roky |
micha
|
82e9d9009d
* fix memory leak introduced in rev 9696, orphaned os chunks are not reused for short-lived threads (fixes issue #13173)
|
před 16 roky |
micha
|
ae8289f9f7
* fix crash in case of main thread exiting simultaneously with other threads (issue #11006)
|
před 17 roky |
Jonas Maebe
|
eb83213f10
* Only start recycling oschunks once MaxKeptOSChunks chuncks have
|
před 17 roky |
Jonas Maebe
|
588822b14d
* more ptruint type casts to avoid 64 bit comparisons on 32 bit
|
před 17 roky |
Jonas Maebe
|
6dd8e51ee5
* folded a constant addition
|
před 18 roky |
peter
|
5acb3649df
* revert r9557, the performance impact is to big for an academic corner
|
před 18 roky |
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.
|
před 18 roky |
yury
|
e00bacdcef
* Removed HAS_MT_MEMORYMANAGER define, since it is obsolete now.
|
před 18 roky |
yury
|
eadfbb5027
* Removed unused local variable.
|
před 18 roky |
yury
|
b55501afef
* Removed dead code.
|
před 18 roky |