8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 09:23:09 +01:00
Commit Graph

327 Commits

Author SHA1 Message Date
robocop
c3660458b4 Added a comment, in case it's not obvious 2004-09-20 08:37:11 +00:00
robocop
5dce94f59f Collapsed an example of Borland's advanced copy/paste technique that repeats routines in different files into a single function. 2004-09-15 03:49:52 +00:00
robocop
9a34d7bb91 Misc: fix typo in a comment 2004-09-07 08:35:29 +00:00
alexpeshkoff
079c3f0602 Added firebird.conf parameter UsePriorityScheduler (requested by Nickolay) 2004-09-02 09:00:48 +00:00
alexpeshkoff
a808403767 Partially removed DeadThreadsCollection parameter from firebird.conf.
Concerning complete removal of it I wait for response on my letter to devel list.
2004-09-01 16:11:12 +00:00
skidder
a28561fcf5 Look up Valgrind header in more appropriate place 2004-09-01 09:36:44 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
skidder
7a85d40428 Fix typo and small bug in memory manager test code 2004-08-28 23:14:46 +00:00
skidder
674e533b80 Update memory manager tests 2004-08-28 05:19:23 +00:00
skidder
6c9402b881 fix handling of zero-length allocations, fix rare memory management error, add quick pool verification logic 2004-08-28 05:18:42 +00:00
skidder
b8601cce19 quick pool verification logic 2004-08-28 05:15:02 +00:00
skidder
f13f54c966 Some Linux targets may miss support for fancy rwlock options 2004-08-28 02:51:11 +00:00
robocop
3a45a04ea7 MSVC6 doesn't keep variables in a for() only in that scope. This standard construction is rejected:
for (int i = ...);
for (int i = ...);
Put the variable again before the loops to be able to compile.
2004-08-27 04:46:01 +00:00
brodsom
46aa03e06e Fix signed/unsigned comparisons 2004-08-26 18:28:12 +00:00
robocop
305b9088f4 misc 2004-08-26 11:04:14 +00:00
skidder
035ac89d7c Clarify comment and update assertion check 2004-08-25 03:09:57 +00:00
brodsom
57528f8bc2 Avoid variable shadowing 2004-08-24 23:11:02 +00:00
robocop
24aab1bd43 Renamed ptr_block to ptrToBLock and block_ptr to blockToPtr for better self-documenting code as agreed privately. No functional change. 2004-08-24 05:16:01 +00:00
skidder
933488964a Update memory manager tests 2004-08-22 21:31:19 +00:00
skidder
a1371e4ffa Slightly streamline logic of allocation critical path. Correct 2 memory manager bugs added during last optimization attempt. We are now ~40faster than malloc from GLIBC 2.3 2004-08-22 21:28:19 +00:00
skidder
3b3bd79ddb Use fine-tuned tree page sizes by default. This increases tree performance by ~7 We are now 1.5 times faster than GNU STL tree 2004-08-22 21:09:13 +00:00
robocop
6be277355f Misc: formatting 2004-08-21 09:18:24 +00:00
skidder
706e941871 Old Valgrind stacktraces need to be cleaned up on pool destruction 2004-08-18 23:39:43 +00:00
alexpeshkoff
45e2d3556f removed a lot of posix warnings after changing int to size_t in vector.h 2004-08-16 12:25:39 +00:00
alexpeshkoff
4568a1c968 replaced exit() with throw fatal_exception - thanks to Jim 2004-08-16 12:24:30 +00:00
skidder
158cc8b30b Optimize memory manager a little bit 2004-08-10 04:10:47 +00:00
skidder
0374e1a9fd Fix memory manager to allow reliable detection of references to memory from deleted pools under Valgrind. Make memory usage statistics more accurate both in Valgrind and general cases. Adjust pool dumping routine to be aware of delayed free blocks 2004-08-09 01:24:54 +00:00
skidder
b980507ad2 Valgrind support 2004-07-30 22:38:08 +00:00
skidder
6129db2caa Correct a couple errors I introduced during int->size_t transition for array indexing 2004-07-29 17:44:03 +00:00
robocop
a5ceabacc8 Style and simplification 2004-07-22 07:17:58 +00:00
skidder
04076ea1ff size_t is more correct type for container sizes and indices 2004-07-17 00:13:34 +00:00
skidder
5494b34caa size_t is more correct type for container sizes and indices 2004-07-16 23:06:31 +00:00
skidder
d749b61c21 Let our dynamic libraries work 2004-07-14 21:49:03 +00:00
robocop
22d2a488d1 Preach with the example and change the license to the IDPL 2004-07-10 03:17:02 +00:00
skidder
32baa87086 Change license for source files which I wrote 2004-06-30 01:26:40 +00:00
skidder
3b062b90b6 Little string class cleanups 2004-06-29 23:31:12 +00:00
skidder
c8d4985a25 Add forgotten length checks 2004-06-29 12:36:42 +00:00
robocop
949830d0c6 1.- const correctness
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
skidder
ad6ffddae2 Minor bugfixing/cleanup of string class. I hope this change doesn't break anything, but Alex should look at it 2004-06-26 22:23:19 +00:00
skidder
f4e7ebdd3b Implement rudimentary framework to track lifetimes of active BLOBs.
This solves the following issues:
1) Outrageous memory consumption when blobs are converted from strings during request processing
2) Materialization doesn't cause invalidation of BLOB IDs too early.
Original behaviour caused errors with updatable views or procedures receiving BLOB arguments.
2004-06-22 20:13:10 +00:00
skidder
323847148c Const-correctness 2004-06-21 22:45:17 +00:00
skidder
de7fc77158 Fix bug with wrong output when printing out used only blocks from memory pool 2004-06-21 22:17:51 +00:00
robocop
320fe78b42 Misc changes 2004-06-21 02:48:47 +00:00
kkuznetsov
1cbc0a3b9b Solaris theading portion of TlsValue 2004-06-16 12:33:13 +00:00
skidder
3ad92020ae Slightly refine BeePlusTree accessor semantics 2004-06-13 23:49:28 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
skidder
eb468e9a4d Bring module up to date 2004-06-13 18:30:20 +00:00
brodsom
bf8f359a13 Remove wrong semicolon 2004-06-13 03:09:29 +00:00
brodsom
f5c80410d2 -Correction for gcc 3.4 2004-06-13 03:08:13 +00:00
kkuznetsov
a0cd7b2449 hCVS: ----------------------------------------------------------------------
Solaris portion of thd.cpp
2004-06-11 14:23:30 +00:00