8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 20:03:02 +01:00
Commit Graph

58 Commits

Author SHA1 Message Date
dimitr
d55e7eb6b3 Fixed CORE-1881. 2008-05-06 09:06:04 +00:00
dimitr
0a9e8c8382 Implemented CORE-1751. The changes include:
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
robocop
83d3ddd6cb Replace custom code by helper class ThreadStatusGuard. 2008-04-26 10:29:52 +00:00
dimitr
a355c60d02 1) Implemented CORE-793. More work is required to terminate idle CS processes, this will be done the next week.
2) Fixed the "lock conflict" error for the CS monitoring in v2.5.
2008-04-23 08:00:27 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
asfernandes
d75951e8e5 Misc 2008-04-18 01:37:44 +00:00
roman-simakov
a202daf6bb Replaced nbackup dirty pages locking with RAII classes 2008-04-16 08:46:13 +00:00
dimitr
7e518ced60 Make sure that ODS is handled properly. 2008-03-26 14:04:04 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
dimitr
253765389a Done CORE-1750. 2008-02-20 13:13:22 +00:00
dimitr
38ba8d34c8 Fixed CORE-1729. 2008-02-06 13:47:08 +00:00
dimitr
132176a475 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:52:51 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
db7d3ecd4c The merge continued. 2008-01-16 08:31:31 +00:00
dimitr
48ec3bd270 1) Make the class members more readable.
2) Add two methods: release() and reset() (accordingly to the ISO/IEC 14882 standard re. auto_ptr).
3) Utilize release() in DatabaseSnapshot.
2007-12-17 13:49:29 +00:00
asfernandes
aedbe5f2b1 Fix GCC build 2007-12-11 01:16:25 +00:00
dimitr
d29ab14143 Fixed CORE-1642 and some const'ness. 2007-12-10 06:31:04 +00:00
alexpeshkoff
eea9070f48 Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster 2007-12-03 15:46:39 +00:00
dimitr
8ffc12be9d Fixed CORE-1567. 2007-11-06 09:45:47 +00:00
dimitr
25097215b0 Added MON$STAT_GROUP into the statistics tables.
This allows to join backwards from a particular statistics record.
2007-09-28 12:59:14 +00:00
dimitr
d904787c92 Misc. 2007-09-15 06:02:52 +00:00
asfernandes
16bc18df54 Misc 2007-09-15 02:37:04 +00:00
dimitr
11b49c231f Fixed mistake in the last commit. 2007-09-14 15:59:05 +00:00
dimitr
72bbf56ea2 Added MON$BACKUP_STATE to MON$DATABASE. 2007-09-14 15:39:53 +00:00
dimitr
a13f1e0ff4 Added MON$IO_STATS and MON$RECORD_STATS. 2007-09-14 15:13:19 +00:00
dimitr
4f379969f7 Fixed my dumb mistake in the code that caused unexpected embedded NULLs in the CHAR strings. 2007-07-20 04:40:58 +00:00
dimitr
4ca4e336ff Fixed CORE-1359. 2007-07-16 15:26:04 +00:00
dimitr
341df76107 Fixed CORE-1358. 2007-07-16 14:44:10 +00:00
dimitr
d8700f35aa Fixed CORE-1330 plus some code cleanup. 2007-07-16 14:41:39 +00:00
hvlad
42fedd1c0e PIO_act_alloc and PIO_max_alloc moved into PageSpace static metods 2007-05-22 11:52:23 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +00:00
alexpeshkoff
f0d465bf34 Fixed gcc warnings, general (un)signed usage cleanup 2007-04-11 09:28:50 +00:00
robocop
e25396fca4 Hack, sorry. 2007-03-12 09:10:14 +00:00
dimitr
05473ab246 Front-ported fix for CORE-943. 2007-03-09 08:55:07 +00:00
dimitr
d31f946fba Added MON$CALL_STACK plus some minor monitoring-related changes. 2007-03-05 07:50:23 +00:00
dimitr
99c2df56b6 Changed cancellation implementation to work at the transaction level as being more efficient. 2007-01-07 15:15:06 +00:00
dimitr
b879c697e4 Fixed crash in monitoring tables on linux. 2006-12-15 10:50:47 +00:00
dimitr
b43b43eca9 1) Changed MON$STATEMENTS a bit.
2) Implemented statement cancellation.
2006-12-04 21:36:29 +00:00
dimitr
171c2c86ff Fixed the issue spotted by Martijn. 2006-11-21 13:56:39 +00:00
robocop
1196fb8270 Get rid of warnings. 2006-11-10 08:13:02 +00:00
robocop
43b86769db Make buildable with VC6. If other compilers reject it, it will need an #ifdef. 2006-11-05 04:04:41 +00:00
dimitr
03a5c9f5f3 Fixed the logic. 2006-10-31 15:49:31 +00:00
alexpeshkoff
b868f313c6 fixed posix build 2006-10-31 12:05:18 +00:00
dimitr
c82703e6a4 Sorry, Adriano, but I insist on my style :-) 2006-10-31 06:13:10 +00:00
asfernandes
157e3c298d Misc 2006-10-30 20:21:19 +00:00
dimitr
e4fffd425f 1) Updated monitoring implementation.
2) Cleanup.
2006-10-30 12:39:08 +00:00
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +00:00
dimitr
b496022b61 Fixed a small issue noticed by Michal. 2006-08-25 04:57:14 +00:00
dimitr
67e061029f Fixed a small issue noticed by Michal. 2006-08-25 04:51:13 +00:00