florian
|
c0372f80e0
* with section threadvars, heap relocation is not needed
|
há 5 anos atrás |
svenbarth
|
c1e3c61af3
* don't call the memory manager's functions, but instead call the Sys* functions directly
|
há 6 anos atrás |
svenbarth
|
db2a5285a9
* fix for Mantis #35988: the internal heap uses directly the Sys* functions, not the memory manager
|
há 6 anos atrás |
florian
|
f0213a2c46
+ make use of the mremap syscall of linux to re-allocate large memory blocks faster
|
há 6 anos atrás |
marco
|
8c854cedee
* more case fixes, mantis #32832 manually done.
|
há 7 anos atrás |
michael
|
aaf0647f58
* Fix bug ID #31462: sysreallocmem uses sys* routines instead of installed memmanager routines
|
há 8 anos atrás |
pierre
|
6c43882cf5
Allow compilation with -Sfnothreading
|
há 8 anos atrás |
pierre
|
a72434e93a
Trial to clarify heap for i8086 issues:
|
há 9 anos atrás |
pierre
|
effa0154c5
Use FPC_NO_DEFAULT_MEMORYMANAGER define to guard SysGetmem/SysFreemem functions, also used for msdos OS
|
há 9 anos atrás |
sergei
|
8ad5e6fb26
- RTL: cleaned out FPC_FREEMEM_X. We now have a dedicated compilerproc 'fpc_freemem' for this purpose.
|
há 11 anos atrás |
nickysn
|
4e2962e6ae
- do not initialize the regular heap manager under i8086-msdos, so it can be smartlinked away
|
há 12 anos atrás |
pierre
|
503b8c73c2
Avoid infinite loops with RTE 204 if heap is corrupted
|
há 12 anos atrás |
Jonas Maebe
|
198625af47
* fixed memory statistics after try_concat_free_chunk_forward() concatenated
|
há 13 anos atrás |
florian
|
6a1a2d3464
* get rid of some feature checks, probably the whole feature stuff is plainly the wrong way, embedded rtl compiles again, resolves #20913
|
há 13 anos atrás |
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
|
há 13 anos atrás |
florian
|
375f83c874
* moved heap manager on embedded systems into a separate unit
|
há 14 anos atrás |
sergei
|
3e145f6d77
+ RelocateHeap: tolerate being called more than once.
|
há 14 anos atrás |
Jonas Maebe
|
7cb1c8b586
* improvement of r16001 so that allocations even closer to high(ptruint)
|
há 14 anos atrás |
florian
|
f90acc40d9
* made GetMemory, FreeMemory, ReallocMemory delphi compatible, resolves #17530
|
há 15 anos atrás |
Jonas Maebe
|
242016312f
* immediately fail when trying to allocate a memory block whose size falls
|
há 15 anos atrás |
Jonas Maebe
|
56f8b88125
* also initialise locgrowheapsizesmall in InitHeapThread, should fix crashes
|
há 15 anos atrás |
micha
|
829f8164fc
* rtl/heap: simplify r15618, be more conservative towards memory use, especially since performance improvement is hardly measurable
|
há 15 anos atrás |
Jonas Maebe
|
e150c2c521
* dynamically grow the size of oschunks allocated for use by the memory
|
há 15 anos atrás |
Jonas Maebe
|
8a891690cc
* prefetch heap status in sysfreemem
|
há 15 anos atrás |
micha
|
347d71db10
* rtl/heap: optimization, while looking for a big enough block, also use blocks that are exactly large enough
|
há 15 anos atrás |
micha
|
a6e6e9d453
* rtl/heap: fix SysReallocMem corruption in multi-thread use (thanks to Burkhard Carstens, #15323)
|
há 15 anos atrás |
Jonas Maebe
|
c1408d164f
* added some prefetch commands based on profile information about
|
há 15 anos atrás |
Jonas Maebe
|
0597c300f4
* applied feature dependencies patch by Sven Barth from mantis #13673 :
|
há 16 anos atrás |
Jonas Maebe
|
533f533868
* changed destination parameter of getmem/getmemory from "var" to "out"
|
há 16 anos atrás |
micha
|
82e9d9009d
* fix memory leak introduced in rev 9696, orphaned os chunks are not reused for short-lived threads (fixes issue #13173)
|
há 16 anos atrás |