Commit History

Author SHA1 Message Date
  Rika Ichinose 6a7d42bb22 Fix leaks on DLL unloading. 2 days ago
  Rika Ichinose 928312d331 Simplify BinIndexToVarSize. 1 week ago
  Rika Ichinose 78f7d0bd1e Initialize the heap lock in DLL_PROCESS_ATTACH and finalize in DLL_PROCESS_DETACH. 2 weeks ago
  Rika Ichinose 354b335b06 Use newish atomics. 2 weeks ago
  Rika Ichinose 2aa8fe76d9 Free empty arenas as a second-to-last chance before allocating a new OS chunk. 1 month ago
  Rika Ichinose 9c2da4ad14 Simplify VarSizeToBinIndex. 3 weeks ago
  Rika Ichinose 32c1d7f9bd Simplify FreeVar. 1 month ago
  Rika Ichinose 4f2bf506e5 Allocate fixed arenas loosely. 1 month ago
  Rika Ichinose 49805e0361 Update maxUsed at the correct moment. 2 months ago
  Rika Ichinose 4e69e46b8e Remove SysTryResizeMem. 2 months ago
  Rika Ichinose db09ff9370 Inline two variants of VarSizeToBinIndex and fix an irreproducible bug in unsynchronized gs.varFree.Find. 2 months ago
  Rika Ichinose 64eb8083ac Track TFPCHeapStatus.MaxHeapUsed less thoroughly. 2 months ago
  Rika Ichinose 5e0cbc5b22 Reallocate memory AGGRESSIVELY, incline ReallocMem to defragment. 2 months ago
  Rika Ichinose 1ca244023f Make HeapInc.gs.hugeUsed atomic. 4 months ago
  Rika Ichinose 7435893d39 Allow semi-invisible medium chunks smaller than the minimim size. 3 months ago
  Rika Ichinose 2c54273453 Round medium sizes up to the bin size. 3 months ago
  Rika Ichinose 5c5ace6b13 Reduce VarHeader size to 8 bytes. 3 months ago
  Rika Ichinose 562048c965 Remove FPC_IN_HEAPMGR, FPC_NO_DEFAULT_MEMORYMANAGER, and unnecessary uses of FPC_NO_DEFAULT_HEAP. 3 months ago
  Rika Ichinose df8c00e2bb Scan orphaned freelists for free space as a last chance before allocating new OS chunk. 3 months ago
  Rika Ichinose 6473bc1e82 Remove HeapInc.gs.varOS. 4 months ago
  Rika Ichinose bc59422f00 Allow shrinking small chunks. 4 months ago
  Rika Ichinose a003040be1 Remove MaxKeptOSChunks (assume 1), GrowHeapSizeSmall, GrowHeapSize1. 4 months ago
  Rika Ichinose cb4bcaa068 Inline AllocFixed & FreeFixed (and make friendlier to inlining). 4 months ago
  Rika Ichinose 85345c54d8 Change RbTree to a FastMM-like two-level bitfield. 4 months ago
  Rika Ichinose 0a45266aec Remove HeapInc.FirstFlag. 4 months ago
  Rika Ichinose 20fb141ca2 Instantly free OS chunks of dead threads. 4 months ago
  Rika Ichinose 02752fdd36 Orphaned chunks can’t have empty arenas. 4 months ago
  Rika Ichinose 7e0e284fce Allocate fixed arenas within variable OS chunks. 4 months ago
  Rika Ichinose 463a14e295 RbTree.ChangeInPlace for cheaper reinsertions. 5 months ago
  Rika Ichinose a8baa49c86 Use red-black trees for variable freelists. 5 months ago