Jonas Maebe
|
0597c300f4
* applied feature dependencies patch by Sven Barth from mantis #13673 :
|
%!s(int64=16) %!d(string=hai) anos |
Jonas Maebe
|
533f533868
* changed destination parameter of getmem/getmemory from "var" to "out"
|
%!s(int64=16) %!d(string=hai) anos |
micha
|
82e9d9009d
* fix memory leak introduced in rev 9696, orphaned os chunks are not reused for short-lived threads (fixes issue #13173)
|
%!s(int64=16) %!d(string=hai) anos |
micha
|
ae8289f9f7
* fix crash in case of main thread exiting simultaneously with other threads (issue #11006)
|
%!s(int64=17) %!d(string=hai) anos |
Jonas Maebe
|
eb83213f10
* Only start recycling oschunks once MaxKeptOSChunks chuncks have
|
%!s(int64=17) %!d(string=hai) anos |
Jonas Maebe
|
588822b14d
* more ptruint type casts to avoid 64 bit comparisons on 32 bit
|
%!s(int64=17) %!d(string=hai) anos |
Jonas Maebe
|
6dd8e51ee5
* folded a constant addition
|
%!s(int64=17) %!d(string=hai) anos |
peter
|
5acb3649df
* revert r9557, the performance impact is to big for an academic corner
|
%!s(int64=18) %!d(string=hai) anos |
yury
|
0dcad4d822
* Implemented late thread manager initialization. Thread manager code is not included to executable if thread stuff are not used. WinCE executable size is reduced by 4KB, Win32 executable size is reduced by 3KB. No testsuite regressions.
|
%!s(int64=18) %!d(string=hai) anos |
yury
|
e00bacdcef
* Removed HAS_MT_MEMORYMANAGER define, since it is obsolete now.
|
%!s(int64=18) %!d(string=hai) anos |
yury
|
eadfbb5027
* Removed unused local variable.
|
%!s(int64=18) %!d(string=hai) anos |
yury
|
b55501afef
* Removed dead code.
|
%!s(int64=18) %!d(string=hai) anos |
Jonas Maebe
|
b02fd37fbe
* removed some unused variables
|
%!s(int64=18) %!d(string=hai) anos |
Legolas
|
87d67dcad6
* gba and nds work with new heap manager now (no need for a custom heap manager that allocates a single big block anymore)
|
%!s(int64=18) %!d(string=hai) anos |
daniel
|
0c3a2a257d
* Convert heap to ptruint.
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
b8822c88b5
* fix heap manager adding to wrong free list, and race condition
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
cd1a283a18
* fix heap var size chunk search to be as intended (search constant number of blocks from best, not from any bigger)
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
afb5f32f65
* fix heap block recycle flag when orphaning
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
787f9a44c7
* heap manager: do not try to leave critical section twice, moron
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
c0fa8fd255
* heap manager: fix thread exit race condition by using single global lock
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
c226f6fd44
* heap manager: handle freeing of block owned by exited thread
|
%!s(int64=18) %!d(string=hai) anos |
Jonas Maebe
|
20b99dade3
- reverted r7600, see additional comments in mantis #9027
|
%!s(int64=18) %!d(string=hai) anos |
Jonas Maebe
|
5a8679131f
+ support for new/dispose with extra size parameter in macpas mode
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
f3a22cbab4
* simplify/remove some code
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
eaa598094e
* heap manager: do not access chunk after last one
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
0248d2472d
* heap manager: fix os chunk list nonsense
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
f9d2ea7e3a
* heap manager: fix shrinking var sized chunks to very small sizes < sizeof(tmemchunk_var)
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
9f11556f10
* flush output after heap debug writeln at exit
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
6c85fcb157
heap manager: initialize critical sections properly
|
%!s(int64=18) %!d(string=hai) anos |
micha
|
7f2a257102
+ heap manager now per thread, reduce heap lock contention
|
%!s(int64=18) %!d(string=hai) anos |