Commit Graph

43 Commits

Author SHA1 Message Date
florian
ddd5f168eb + more MT stuff added 2001-01-24 21:47:18 +00:00
peter
1a0277d7b0 * smallatheapptr undef and other cleanup (merged) 2000-08-08 19:22:46 +00:00
michael
586c4cea50 + Conditionals fixed 2000-07-14 10:33:09 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
pierre
e574245b0e fix for heap problem 2000-04-20 15:29:15 +00:00
pierre
e9f1439f5a + ReturnNilIfGrowHeapFails used in objects unit
to handle TMemoryStream out of memory properly
    as MaxAvail is not a good test anymore.
2000-04-07 21:10:35 +00:00
peter
11d7a573df * concat free blocks in main freelist 2000-03-13 21:22:28 +00:00
pierre
6d213ac89b * avoid problems if sbrk returns negative values 2000-03-10 12:41:21 +00:00
peter
20105af42c * fixed bug with reallocmem to use the wrong size when copying the
data to the new allocated pointer
2000-02-10 13:59:35 +00:00
peter
6bbb440811 * fixed internal_memavail counting for tryresizemem 2000-02-02 11:12:29 +00:00
peter
ba0b8a2e1b * reallocmem fixed for freemem() call when size=0 2000-01-31 23:41:30 +00:00
peter
9be202fd38 * fixed reallocmem which didn't work anymore and thus broke a lot
of objfpc/delphi code
2000-01-24 23:56:10 +00:00
Jonas Maebe
2c25000f32 * fixed problem with reallocmem and heaptrc 2000-01-20 12:35:35 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
peter
a3c7cfd396 * fixed sysmemsize which did the and sizemask wrong 1999-12-16 19:11:49 +00:00
peter
a3749c8bf3 * fixed getmem call with wrong size from reallocmem 1999-12-13 21:04:46 +00:00
peter
bf3e811517 * cmdline support 1999-12-01 22:57:30 +00:00
peter
ddb0882789 * fixed reallocmem with a block at the end of an allocated memoryblock,
had to introduce a flag for such blocks.
  * flags are now stored in the first 4 bits instead of the highest bit,
    this could be done because the sizes of block are always >= 16
1999-11-14 21:34:21 +00:00
michael
adb19684e1 + Fixed sysreallocmem 1999-11-10 22:29:51 +00:00
peter
6a10b2661b * freemem,reallocmem now get var argument 1999-11-01 13:56:50 +00:00
peter
71d7f4ef38 * memorymanager expanded with allocmem/reallocmem 1999-10-30 17:39:05 +00:00
sg
cb3d2ac4f3 * FreeMem(p) is ignored if p is NIL, instead of throwing an
runtime error 204. (Delphi ignores NIL FreeMem's, too)
1999-10-22 22:03:07 +00:00
peter
1a777e609e * fixed memsize which forgot the sizemask 1999-10-01 07:55:54 +00:00
peter
b659954bc3 * best match for main freelist
* removed root field, saves 4 bytes per block
  * fixed crash in dumpblocks
1999-09-22 21:59:02 +00:00
peter
c7d01df165 * fixed growheap freelist addition when heapend-heapptr<blocksize 1999-09-20 14:17:37 +00:00
peter
88b7b037b2 + new heap manager supporting delphi freemem(pointer) 1999-09-17 17:14:11 +00:00
michael
f31460489f + Added goto on switch 1999-09-17 10:38:00 +00:00
peter
38a2727fb2 * pointer fixes 1999-09-08 16:14:41 +00:00
michael
d3d9e234bd + reverted to previous heap 1999-08-20 13:26:20 +00:00
michael
50ae4cf315 + Patch for heap allocation from Florian 1999-08-20 10:31:17 +00:00
peter
e161a3e489 * growing is now 256k or 1mb 1999-05-31 20:36:34 +00:00
florian
e905aeea04 * most of the Object Pascal stuff moved to the system unit 1999-05-17 21:52:33 +00:00
pierre
9e3e3d9415 * error 204 if trying to free too much memory of heap top ! 1999-04-19 11:53:13 +00:00
pierre
ffc582a561 * wrong statement in freemem removed : corrupted memavail result 1999-04-19 11:11:39 +00:00
peter
55fbeb959d * memavail fixed for too big freemem calls 1999-03-18 11:21:16 +00:00
florian
e7dacebccc * fixed small things regarding TEMPHEAP 1999-02-08 09:31:39 +00:00
pierre
ab763cd69c + added text arg for dump_stack 1999-01-22 12:39:19 +00:00
peter
efaf241dba * more temp symbols removed 1998-12-16 00:22:24 +00:00
peter
0ffc0f5586 + check for < 0 which otherwise segfaulted 1998-10-22 23:50:45 +00:00
peter
2a14ecc703 + memorymanager like delphi 1998-10-01 14:55:17 +00:00
peter
4620a73a9b * FPC_ names
* Heap manager is now system independent
1998-09-14 10:48:00 +00:00