Rika Ichinose
|
db09ff9370
Inline two variants of VarSizeToBinIndex and fix an irreproducible bug in unsynchronized gs.varFree.Find.
|
2 weeks ago |
Rika Ichinose
|
64eb8083ac
Track TFPCHeapStatus.MaxHeapUsed less thoroughly.
|
3 weeks ago |
Rika Ichinose
|
5e0cbc5b22
Reallocate memory AGGRESSIVELY, incline ReallocMem to defragment.
|
1 month ago |
Rika Ichinose
|
1ca244023f
Make HeapInc.gs.hugeUsed atomic.
|
3 months ago |
Rika Ichinose
|
7435893d39
Allow semi-invisible medium chunks smaller than the minimim size.
|
1 month ago |
Rika Ichinose
|
2c54273453
Round medium sizes up to the bin size.
|
1 month ago |
Rika Ichinose
|
5c5ace6b13
Reduce VarHeader size to 8 bytes.
|
1 month ago |
Rika Ichinose
|
562048c965
Remove FPC_IN_HEAPMGR, FPC_NO_DEFAULT_MEMORYMANAGER, and unnecessary uses of FPC_NO_DEFAULT_HEAP.
|
2 months ago |
Rika Ichinose
|
df8c00e2bb
Scan orphaned freelists for free space as a last chance before allocating new OS chunk.
|
2 months ago |
Rika Ichinose
|
6473bc1e82
Remove HeapInc.gs.varOS.
|
2 months ago |
Rika Ichinose
|
bc59422f00
Allow shrinking small chunks.
|
2 months ago |
Rika Ichinose
|
a003040be1
Remove MaxKeptOSChunks (assume 1), GrowHeapSizeSmall, GrowHeapSize1.
|
3 months ago |
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.
|
2 months ago |
Rika Ichinose
|
0a45266aec
Remove HeapInc.FirstFlag.
|
2 months ago |
Rika Ichinose
|
20fb141ca2
Instantly free OS chunks of dead threads.
|
2 months ago |
Rika Ichinose
|
02752fdd36
Orphaned chunks can’t have empty arenas.
|
2 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.
|
3 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).
|
9 months ago |
Rika Ichinose
|
c08d73054a
Return MemSize from FreeMem.
|
9 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 |