florian
|
0cc53cc5df
+ patch from Benito van der Zander to enable heaptrc to dump leaked or faulty memory blocks (function disabled by default), resolves #19691
|
vor 14 Jahren |
sergei
|
d11d08af73
* heaptrc.pp: In case of early multithreading initialization, initialize all related items (namely, main_relo_todolist), not just the critical section. main_relo_todolist is used later without assigned checks, and it is also used as a flag to destroy the critical section.
|
vor 14 Jahren |
pierre
|
04d85d32d9
* Disable inline for FPC_HEAPTRC_EXTRA to facilitate cdebugging with GDB
|
vor 14 Jahren |
florian
|
e6648da567
* make heaptrc aware of the fact that multi threading could be initialized before heaptrc itself is initialized, this is currently the case for windows dlls
|
vor 15 Jahren |
Jonas Maebe
|
0eec337a00
- removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED
|
vor 16 Jahren |
Jonas Maebe
|
9ed40aa926
- reverted r13079, it gives wrong results when using heaptrc with an
|
vor 16 Jahren |
micha
|
c9bea201ce
* heaptrace: fix calculation of expected free heap
|
vor 16 Jahren |
Jonas Maebe
|
f9a17c47bd
* write output to screen if log file(s) cannot be opened (mantis #12532)
|
vor 16 Jahren |
giulio
|
50cd527d30
Checkpointer: consider bss section too for go32v2 (webtbs/tw3661 now works)
|
vor 17 Jahren |
yury
|
6a36ac786a
* Fixed warnings.
|
vor 18 Jahren |
yury
|
05f718fbd2
* Fixed warnings and notes.
|
vor 18 Jahren |
florian
|
7cea844223
* more crash fixes
|
vor 18 Jahren |
florian
|
9472497e5b
* finally fixed heaptrc for win64
|
vor 18 Jahren |
florian
|
7f4c387841
o new BeOS patch by Olivier Coursiere:
|
vor 18 Jahren |
florian
|
a221785d0b
* try to read caller address only when we got a proper base pointer
|
vor 18 Jahren |
daniel
|
0c3a2a257d
* Convert heap to ptruint.
|
vor 18 Jahren |
micha
|
b4363e046b
* fix heaptrace segfault, access of lost block
|
vor 18 Jahren |
micha
|
a70f5bb51e
* fix lock release in heap trace
|
vor 18 Jahren |
micha
|
c0fa8fd255
* heap manager: fix thread exit race condition by using single global lock
|
vor 18 Jahren |
micha
|
3b7792ead1
* heaptrace: cleanup orphaned lock only in case of threading used
|
vor 18 Jahren |
Jonas Maebe
|
0a10f521f6
* added {$inline on} directive to fix compilation with 2.0.4
|
vor 18 Jahren |
micha
|
c226f6fd44
* heap manager: handle freeing of block owned by exited thread
|
vor 18 Jahren |
Jonas Maebe
|
79e84ba129
* fixed add_tail functionality for cpus which require natural
|
vor 18 Jahren |
micha
|
e989730f34
* initialize/finalize critical sections in heaptrace properly
|
vor 18 Jahren |
micha
|
7f2a257102
+ heap manager now per thread, reduce heap lock contention
|
vor 18 Jahren |
pierre
|
9137533864
Patch from Vincent Snijders, sent to fpc-devel
|
vor 18 Jahren |
pierre
|
4f3f5d042b
* return nil in TraceGetMem if SysGetMem returns nil
|
vor 18 Jahren |
florian
|
8ed35dd5fb
* do a stack trace in case of abording with an heap error when EXTRA is defined
|
vor 18 Jahren |
florian
|
2fb33c4664
* better export of EXTRA define of heaptrc unit
|
vor 18 Jahren |
Jonas Maebe
|
01749b93f3
* disabled checkpointer for Darwin since it doesn't work
|
vor 18 Jahren |