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

737 Commits

Author SHA1 Message Date
brodsom
01681a01dc Move function definition from header to cpp and remove inline. 2003-02-16 00:20:30 +00:00
bellardo
7594e8b7b3 Added some of the "inlines" back. If the functions are really not meant to be inlined they need to be moved from the header file to an appropiate source file, and their declarations placed in the header file. Otherwise we get an overabundance of multiply defined symbols. 2003-02-13 23:39:49 +00:00
bellardo
609150281d add a configure check for malloc.h 2003-02-13 22:49:20 +00:00
brodsom
45efaaa7e0 Remove inline keyword. 2003-02-13 22:49:16 +00:00
dimitr
e9c9394670 Fixed exception handling. 2003-02-13 13:44:44 +00:00
brodsom
33a205d0c1 Remove warning 'static is not at beginning of declaration' 2003-02-13 02:21:10 +00:00
brodsom
6fb3e5ec4c Remove warning 'declaration shadows a previous local' 2003-02-13 02:19:14 +00:00
tamlin
08d027e94d Print warning messages to stderr instead of stdout 2003-02-12 19:36:27 +00:00
brodsom
6f0922e049 Add newline at the end 2003-02-09 11:22:10 +00:00
brodsom
e0a4ac9778 Make default parameters values for non forced writes mode depend on the platform 2003-02-07 12:58:30 +00:00
brodsom
d816e112ed Change non FW mode time parameter value. 2003-02-05 23:28:44 +00:00
brodsom
9a9894094f New config parameters to control non forced writes mode. 2003-02-05 14:32:21 +00:00
dimitr
0ce8652f60 Moved allocator functions back to GDS. MemoryPool is no longer exported. 2003-02-04 20:18:36 +00:00
dimitr
fb6a63fe58 Fixed bug in the memory manager. We shouldn't use the uninitialized pool. gpre_boot no longer crashes. 2003-02-04 11:18:17 +00:00
dimitr
37fa82834a Fixed my latest commit. 2003-02-02 16:01:12 +00:00
dimitr
a80e3e0d84 1. Applied singleton-instance idiom to the config manager. It costs just a few CPU cycles, so doesn't affect the performance.
2. A bit changed two config entry names.
2003-02-02 15:20:02 +00:00
dimitr
81cbb8bb78 Reduced memory usage. 2003-02-02 13:09:55 +00:00
dimitr
df03c555ec Fixed win32 CS build. 2003-01-31 07:44:03 +00:00
skidder
427ae39e57 Fixed a couple errors Mike Nordell pointed at 2003-01-30 18:05:34 +00:00
dimitr
81d3885bcc Fixed the errors pointed out by Mike. 2003-01-30 13:26:16 +00:00
eku
9de51efd26 Dmitry Yemanov:
Right now locks.h is used by the memory manager only. In its internals you
can find that SS uses Spinlock class whilst CS uses SharedSpinlock (which is
just a dummy now). So I think everything except SharedSpinlock should be
#ifdef'ed with SUPERSERVER in locks.h. The only doubt I have is a SOLARIS
check there (is it related to SS or CS?).
2003-01-29 10:16:21 +00:00
dimitr
93246b6445 Fixed linkage issues on win32. 2003-01-27 11:47:04 +00:00
dimitr
733e45cf0d Cleanup. 2003-01-21 12:19:32 +00:00
dimitr
4b3f6190c2 Cosmetics. 2003-01-21 11:08:59 +00:00
alexpeshkoff
a4b1cb5c34 Make Spinlock Win95 compatible 2003-01-20 18:38:34 +00:00
skidder
e12957d7bc Fixed engine compilation problem on GCC3.2.1 2003-01-20 14:31:20 +00:00
dimitr
5dabda9323 Fixed dump of the memory usage stats. 2003-01-20 08:40:02 +00:00
kkuznetsov
348ac71b37 Dummy inplementation of Spin-Lock let me return to compiling on Solx86 2003-01-19 18:32:23 +00:00
skidder
884c38d6c4 Memory manager changes - added memory usage stats, empty extents are now deallocated 2003-01-18 21:45:24 +00:00
dimitr
8de1ee6484 Removed compiler warnings. 2003-01-18 18:43:52 +00:00
dimitr
65046f123a Undone. 2003-01-18 18:02:12 +00:00
dimitr
6b8a306f79 Expose routines for allocation from system. Various temp buffers shouldn't go through the pool implementation. 2003-01-18 14:56:21 +00:00
dimitr
c9ed6efc7f Fixed problems with the memory manager. Oddly enough, but the server seems to work ;-) 2003-01-17 09:59:59 +00:00
dimitr
30f685d014 Fixed a typo. 2003-01-17 06:41:40 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
dimitr
6bfbf2676b New config values. 2003-01-15 14:10:07 +00:00
alexpeshkoff
4047237a50 Added config file parameters, controlling threads' priorities scheduler 2003-01-12 15:33:00 +00:00
skidder
4bdbf2a9c2 Little fixes in MemoryPool implementation 2003-01-10 21:37:18 +00:00
dimitr
1c1c5a8bc4 Fixed MemoryPool implementation. 2003-01-10 12:27:57 +00:00
skidder
32ecfff5b2 Prepare new memory manager for integration into the engine core 2003-01-09 19:47:46 +00:00
skidder
1a44760aed Further class library development. Added memory pool locking and line number allocation information 2003-01-07 16:35:10 +00:00
alexpeshkoff
f138cb4f22 Make it compile with MSVC6 2003-01-06 17:35:21 +00:00
skidder
77761a16b9 Further class library development. MemoryPool works now 2003-01-03 16:03:30 +00:00
nmcc
bb53a90315 Use system system anon mmap on Solaris where supported ie: >= Solaris8
otherwise use orginal FB1 version.
2002-12-30 15:46:46 +00:00
dimitr
a104ed6217 Changed default values. 2002-12-23 15:50:59 +00:00
skidder
0ec1e9f4c4 Further class library development 2002-12-17 19:42:25 +00:00
skidder
268f131ad9 Further class library development 2002-12-16 18:33:54 +00:00
skidder
9872002a7d First little pieces of new Firebird class library implementation 2002-12-14 21:43:18 +00:00
dimitr
e61f297681 More usage of the new config stuff. 2002-12-07 13:49:37 +00:00
dimitr
48919f19aa More usage of the new config stuff. 2002-12-07 13:27:12 +00:00
dimitr
d6d6ec46c2 More usage of the new config stuff. 2002-12-06 21:12:59 +00:00
dimitr
153f31323c More usage of the new config stuff. 2002-12-06 12:34:43 +00:00
dimitr
a280bdfa84 Corrected config implementation. 2002-12-06 12:04:39 +00:00
skidder
5187fa6c44 Added configuration parameter to enable older parameter ordering behavior 2002-12-03 13:37:06 +00:00
eku
39e296192c Removed inconsistencies pointed out by Claudio Valderr.
Replaced 'defined(__osf__) && defined(__alpha)' with 'SIZEOF_LONG == 8'.
New macro FB_NELEM calculates the number of elements in an array.
2002-12-02 08:25:23 +00:00
skidder
db3692790b New changes by Dmitry Emanov. Configuration manager and Windows build environment improvements 2002-11-30 15:08:09 +00:00
dimitr
1b403e830c Avoid redundant "best fit" lookup after a pool has been extended. 2002-11-24 10:22:33 +00:00
dimitr
cdfa6e3d6a All pool extends passed from the external world are in bytes, not in allocation units. 2002-11-23 18:26:09 +00:00
dimitr
b6ed8189d6 Applied patch for config_file.cpp. Thanks to Pirtea Calin Iancu. 2002-11-22 09:02:47 +00:00
dimitr
f4fa3edc7c Fixed alignment bug in the memory manager. 2002-11-20 09:50:25 +00:00
dimitr
035aa9eca1 Fixed a couple of bugs in the memory manager. Now we're fast again. 2002-11-16 13:59:59 +00:00
dimitr
201666c3a0 Having duplicated names is not a good practice. 2002-11-16 10:56:49 +00:00
alexpeshkoff
81b3d5593e Added 2 new exceptions
Cleanup
2002-11-11 18:06:01 +00:00
dimitr
8a5afa8bd0 Guardian option is added to the config manager. 2002-11-10 13:41:20 +00:00
dimitr
2184b8887f Allowed root directory to be overriden in the config file. 2002-11-10 09:48:23 +00:00
dimitr
9a02a2271c New configuration manager. 2002-11-03 16:26:12 +00:00
kkuznetsov
e8bf5420cf And link mmap_anon hear 2002-10-30 14:47:32 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
stryqx
ee9fb4e427 Add FreeBSD support.
This allows me to compile CS on FreeBSD 4.7 using gcc 3.2.1.
2002-10-12 04:16:32 +00:00
skidder
6d64014e57 Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now 2002-09-25 17:12:16 +00:00
kkuznetsov
081b9cb96b fixed some compile errors 2002-09-25 11:12:48 +00:00
eku
6380cea068 Removed compiler warnings. Fixed more SIG_FPTR issues. Use GNU C to check
format strings against arguments.
2002-09-24 12:57:10 +00:00
skidder
4b3d0d5134 Added FB_NEW macro 2002-09-23 18:02:00 +00:00
skidder
a0baf24859 gds__alloc_debug stores line number information in the memory pool 2002-09-23 15:08:19 +00:00
skidder
4653efb133 Added file name/line number information to debug memory manager. Dumps memory state to memdebug.log on exit 2002-09-22 20:41:55 +00:00
skidder
9a22d2191a resoled some linux build issues, warnings 2002-09-11 19:37:30 +00:00
skidder
c5f9e72d1a Fix compiler warning 2002-09-10 18:24:20 +00:00
skywalker
d89b1a0842 Changes to make fb2 compile super version for linux 2002-07-29 15:37:59 +00:00
dimitr
435955e527 Some minor changes 2002-04-29 10:57:05 +00:00
bellardo
e323453f5e File to hold our custom exception class implementation. 2002-04-04 05:33:01 +00:00
bellardo
79176130d7 Someone (who shall remain nameless) committed this file with red zones enabled.
As these tend to be a drag on performance I decided to disable them.
2002-04-03 23:35:29 +00:00
bellardo
0ad219a8f4 Updated delete operators to accept a null pointer to delete as required by c++. 2002-04-02 05:42:38 +00:00
dimitr
257c13284f Fixed a compilation error in the release mode 2002-02-25 10:12:21 +00:00
skywalker
a887af3646 Changes to make it compile on linux.
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
5ae485f0b5 cleaning up 2001-12-29 11:41:29 +00:00
tamlin
e48b2468d7 MemoryPool work 2001-12-28 05:16:31 +00:00
tamlin
6b0113844e New C++ memory pool 2001-12-24 03:02:42 +00:00