peter
|
2e52bf2824
|
* fixed overflow when reusing a memory block for fixed size chunks
|
2004-12-19 13:45:56 +00:00 |
|
peter
|
dac91ff361
|
* fix currheapused
|
2004-11-26 22:22:58 +00:00 |
|
peter
|
c38daf68eb
|
* typo for GetHeapStatus
|
2004-11-22 22:26:21 +00:00 |
|
peter
|
a263b1d40e
|
* GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize
|
2004-11-22 19:34:58 +00:00 |
|
peter
|
869b0ecc85
|
* compiler defined HEAP and HEAPSIZE removed
|
2004-10-25 15:38:59 +00:00 |
|
Jonas Maebe
|
6840bd8ece
|
* changed formatting to conform to the rest of the compiler/rtl
* fixed SysMaxAvail so it also looks at the free fixed size blocks
|
2004-08-10 18:58:36 +00:00 |
|
peter
|
cd35d3fd5e
|
* readded support for ReturnIfGrowHeapFails
|
2004-06-29 20:50:32 +00:00 |
|
florian
|
1397425c4a
|
* fixed heap corruption on sparc
|
2004-06-27 19:47:27 +00:00 |
|
florian
|
8f6f6bfc30
|
* finally (hopefully) fixed sysalloc trouble
|
2004-06-27 11:57:18 +00:00 |
|
peter
|
58d5c20352
|
* moved padding for sparc
|
2004-06-18 14:40:55 +00:00 |
|
peter
|
2ed14823c5
|
* New heapmanager that releases memory back to the OS, donated
by Micha Nelissen
|
2004-06-17 16:16:13 +00:00 |
|
peter
|
b3eb8fb2af
|
* sparc needs alignment on 8 bytes to allow doubles
|
2004-05-31 12:18:16 +00:00 |
|
peter
|
482e1a2505
|
* 64bit fixes
|
2004-04-26 16:20:54 +00:00 |
|
peter
|
abfc396c40
|
* cmem moved to rtl
* longint replaced with ptrint in heapmanagers
|
2004-03-15 21:48:26 +00:00 |
|
peter
|
6219d43b43
|
* exit with rte 204 instead of looping infinite when a heap record
size is overwritten with 0
|
2004-03-15 20:42:39 +00:00 |
|
Jonas Maebe
|
456eb6eca0
|
* improved beforeheapend inheritance (remove flag again when possible,
sometimes resulting in more opportunities for TryConcatFreeRecord)
|
2004-01-29 22:45:25 +00:00 |
|
daniel
|
d9b98b35be
|
* Small microoptimization
|
2003-12-15 21:39:16 +00:00 |
|
marco
|
fcde2c3ffa
|
* *memORY overloads
|
2003-10-02 14:03:24 +00:00 |
|
peter
|
36fd13c639
|
* fixed wrong check when allocation of a block > 1mb failed
|
2003-09-28 12:43:48 +00:00 |
|
peter
|
3d8d9c96f8
|
* sbrk returns pointer
|
2003-09-27 11:52:35 +00:00 |
|
peter
|
1ddaa693a3
|
* check newpos < 0 instead of = -1
|
2003-05-23 14:53:48 +00:00 |
|
florian
|
eab5d1f7c5
|
* started to make the rtl 64 bit save by introducing SizeInt and SizeUInt (similar to size_t of C)
|
2003-05-01 08:05:23 +00:00 |
|
peter
|
d5896e54f2
|
* fix setmemorymutexmanager to call mutexdone on the already
installed manager instead of the passed manager
|
2002-11-01 17:38:04 +00:00 |
|
peter
|
ca3679e4bf
|
* MemoryManager record has a field NeedLock if the wrapper functions
need to provide locking for multithreaded programs
|
2002-10-30 20:39:13 +00:00 |
|
peter
|
766e8d35f6
|
* remove wrong lock from SysMemSize, MemSize() does the locking
already.
|
2002-10-30 19:54:19 +00:00 |
|
peter
|
5fff238567
|
* threads unit added for thread support
|
2002-10-14 19:39:16 +00:00 |
|
peter
|
01dfac4a4e
|
* old logs removed and tabs fixed
|
2002-09-07 15:06:34 +00:00 |
|
Jonas Maebe
|
ee56b2e0ec
|
* heap manager now fragments the heap much less
|
2002-06-17 08:33:04 +00:00 |
|
peter
|
90ff7a6db8
|
* fpc_freemem and fpc_getmem compilerproc
|
2002-04-21 18:56:59 +00:00 |
|
carl
|
dbfaa38c6e
|
* fixed some missing IsMultiThreaded variables
|
2002-02-10 15:33:45 +00:00 |
|
Jonas Maebe
|
e52fa07468
|
* fix for web bug #1727 from Peter (corrected)
|
2002-01-02 13:43:09 +00:00 |
|
Jonas Maebe
|
d06ebc3fd1
|
* fix for web bug #1727 from Peter
|
2001-12-31 11:41:06 +00:00 |
|
peter
|
7484da248d
|
* freemem(var) -> freemem(value)
|
2001-12-03 21:39:19 +00:00 |
|
peter
|
52d1571d12
|
* moved locking of heap
|
2001-10-25 21:22:34 +00:00 |
|
peter
|
5d62342562
|
* criticalsection renamed to rtlcriticalsection for kylix compatibility
|
2001-10-23 21:51:02 +00:00 |
|
Jonas Maebe
|
cbc6756190
|
* fixed wrong typed constant procvars in preparation of my fix which will
disallow them in FPC mode (plus some other unmerged changes since
LAST_MERGE)
|
2001-06-06 17:20:21 +00:00 |
|
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 |
|