peter
|
4ace790492
|
* remove $Log
git-svn-id: trunk@231 -
|
2005-06-07 09:47:55 +00:00 |
|
florian
|
0d7aaab6b8
|
* patch from Ales Katona making the memory manager more
smart when releasing memory chunks back to the OS
git-svn-id: trunk@190 -
|
2005-06-04 10:53:38 +00:00 |
|
fpc
|
790a4fe2d3
|
* log and id tags removed
git-svn-id: trunk@42 -
|
2005-05-21 09:42:41 +00:00 |
|
fpc
|
50778076c3
|
initial import
git-svn-id: trunk@1 -
|
2005-05-16 18:37:41 +00:00 |
|
peter
|
fc977d3259
|
* check if there is enough room before concatting blocks in
systryresizemem()
|
2005-04-04 15:40:30 +00:00 |
|
Jonas Maebe
|
2426ecafc3
|
* fixed several warnings and notes about unused variables (mainly) or
uninitialised use of variables/function results (a few)
|
2005-03-25 22:53:39 +00:00 |
|
peter
|
ccf36c0afd
|
* fix crash under win32 with previous reallocmem fix
|
2005-03-21 16:31:33 +00:00 |
|
peter
|
d7ae60a9e0
|
* fixed tryresizemem
|
2005-03-20 18:57:29 +00:00 |
|
peter
|
617bd39762
|
* fix getheapstatus bootstrapping
|
2005-03-04 16:49:34 +00:00 |
|
marco
|
28011bbfb0
|
* small typo fix on last commit
|
2005-03-02 14:25:19 +00:00 |
|
marco
|
190bd1ab34
|
* getfpcheapstatus now also on memmgr
|
2005-03-02 10:46:10 +00:00 |
|
marco
|
daf59fbd7e
|
* getFPCheapstatus (no, FPC HEAP, not FP CHEAP!)
|
2005-02-28 15:38:38 +00:00 |
|
peter
|
e417e34496
|
* truncate log
|
2005-02-14 17:13:06 +00:00 |
|
peter
|
2d1aee8e53
|
* allow Freemem(nil)
|
2005-01-30 11:56:29 +00:00 |
|
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 |
|