Rika Ichinose
|
cb4bcaa068
Inline AllocFixed & FreeFixed (and make friendlier to inlining).
|
2 months ago |
Rika Ichinose
|
85345c54d8
Change RbTree to a FastMM-like two-level bitfield.
|
3 months ago |
Rika Ichinose
|
0a45266aec
Remove HeapInc.FirstFlag.
|
3 months ago |
Rika Ichinose
|
20fb141ca2
Instantly free OS chunks of dead threads.
|
3 months ago |
Rika Ichinose
|
02752fdd36
Orphaned chunks can’t have empty arenas.
|
3 months ago |
Rika Ichinose
|
7e0e284fce
Allocate fixed arenas within variable OS chunks.
|
3 months ago |
Rika Ichinose
|
463a14e295
RbTree.ChangeInPlace for cheaper reinsertions.
|
3 months ago |
Rika Ichinose
|
a8baa49c86
Use red-black trees for variable freelists.
|
4 months ago |
Rika Ichinose
|
571088ff80
Pass huge chunks directly to SysOSAlloc/Realloc/Free.
|
4 months ago |
florian
|
1ae6ea8f88
* fix line history part 3
|
4 months ago |
florian
|
dfbd4eac2a
+ fix line history part 2
|
4 months ago |
florian
|
2de241b9ac
* fix line history part 1
|
4 months ago |
Michaël Van Canneyt
|
c8bf474d6d
* Switch to new heap by RuneWalsh (MR !694)
|
4 months ago |
Michaël Van Canneyt
|
06aff099c1
* Move heap to oldheap, prepare for MR !694
|
4 months ago |
Rika Ichinose
|
ba7a76bf37
Allow MemSize(nil) to match FreeMem(nil).
|
10 months ago |
Rika Ichinose
|
c08d73054a
Return MemSize from FreeMem.
|
10 months ago |
florian
|
4e1f854d49
* patch by Rika + test: Don’t explicitly change GetMem(0) to GetMem(1), it works anyway, resolves #40456
|
1 year ago |
Michaël Van Canneyt
|
fb5b891c45
* Fix issue #40360
|
2 years ago |
florian
|
c0372f80e0
* with section threadvars, heap relocation is not needed
|
5 years ago |
svenbarth
|
c1e3c61af3
* don't call the memory manager's functions, but instead call the Sys* functions directly
|
6 years ago |
svenbarth
|
db2a5285a9
* fix for Mantis #35988: the internal heap uses directly the Sys* functions, not the memory manager
|
6 years ago |
florian
|
f0213a2c46
+ make use of the mremap syscall of linux to re-allocate large memory blocks faster
|
6 years ago |
marco
|
8c854cedee
* more case fixes, mantis #32832 manually done.
|
7 years ago |
michael
|
aaf0647f58
* Fix bug ID #31462: sysreallocmem uses sys* routines instead of installed memmanager routines
|
8 years ago |
pierre
|
6c43882cf5
Allow compilation with -Sfnothreading
|
8 years ago |
pierre
|
a72434e93a
Trial to clarify heap for i8086 issues:
|
9 years ago |
pierre
|
effa0154c5
Use FPC_NO_DEFAULT_MEMORYMANAGER define to guard SysGetmem/SysFreemem functions, also used for msdos OS
|
9 years ago |
sergei
|
8ad5e6fb26
- RTL: cleaned out FPC_FREEMEM_X. We now have a dedicated compilerproc 'fpc_freemem' for this purpose.
|
11 years ago |
nickysn
|
4e2962e6ae
- do not initialize the regular heap manager under i8086-msdos, so it can be smartlinked away
|
12 years ago |
pierre
|
503b8c73c2
Avoid infinite loops with RTE 204 if heap is corrupted
|
12 years ago |