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

143 Commits

Author SHA1 Message Date
alexpeshkoff
ae516016bf Fixed performance issues when creating and destroying pools 2010-10-27 09:49:16 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
asfernandes
91384eb587 Misc 2010-10-12 17:40:27 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
dimitr
e0179c672d Cleanup. Let's finally use a single (and standard) behavior of the allocator. 2010-04-08 09:35:39 +00:00
alexpeshkoff
f5970e2fca Cleanup SUPERCLIENT - always use same method to get automatic pool 2010-03-24 12:11:59 +00:00
robocop
1d87d749f0 Misc. 2010-01-26 08:20:27 +00:00
hvlad
abfb67edbb Fixed bug when huge memory chunk (more than 2GB) is released 2010-01-19 12:50:43 +00:00
hvlad
a3ab95f8f6 All memory allocations should be ALLOC_ALLIGMENT aligned.
It fixed bug in Win64 DEBUG build.
2009-12-29 12:46:53 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +00:00
hvlad
996ce01cb5 Fix Win32 build 2009-11-04 15:48:17 +00:00
alexpeshkoff
bc99c22556 Some hanges suggested by Claudio, also fixed compile errors 2009-11-04 11:37:10 +00:00
robocop
1990db7c9c Misc (hope the change is for better). 2009-11-04 10:51:27 +00:00
asfernandes
bcee7417c4 1) Misc; 2) Fix bad indenting 2009-11-04 00:20:56 +00:00
alexpeshkoff
2d0701f96e Merged vulcan memory pools 2009-11-03 13:30:37 +00:00
asfernandes
8c265e5a45 Misc 2009-08-01 18:41:46 +00:00
alexpeshkoff
e9d3b31cc2 HPUX port - support crazy C-runtime on Itanium 2009-07-30 13:27:38 +00:00
alexpeshkoff
3bdb9d5f06 Fixed use of size_t variables in printf() - thanks to Claudio 2009-07-30 12:16:36 +00:00
hvlad
509a8558ab Fixed bug in my prevoius commit. 2009-07-15 15:28:04 +00:00
asfernandes
adacf54d74 Misc 2009-07-14 01:18:17 +00:00
hvlad
0bb6d05d8f Disable "parent redirect" feature and allocate memory for child pool from parent pool instead. It will improve speed of "deallocate by pool" mechanism for child pools (primary DSQL and CMP pools).
Regression (slowdown) was reported by Gabor Boros in fb-devel.
2009-07-12 17:37:55 +00:00
asfernandes
181345f235 Increase the "probe stack" test to 128K, as there may be > 64K local variables (like DatabaseSnapshot::DumpRecord). 2009-07-10 15:14:07 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
asfernandes
75c0d0f353 Misc 2009-02-05 01:08:13 +00:00
robocop
7bc5e3cc83 Style. 2009-02-03 11:02:00 +00:00
asfernandes
5a85277726 Misc 2008-12-25 14:25:01 +00:00
robocop
b6e6e537d8 Style. 2008-12-24 07:46:11 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
asfernandes
607f55503d Misc 2008-07-11 02:37:23 +00:00
alexpeshkoff
4d2e830cd5 Fixed CORE-1983: Out of memory condition in OS causes AV 2008-07-08 08:57:31 +00:00
robocop
b8ea332022 Misc. 2008-06-05 11:02:42 +00:00
robocop
a1906d634f Style. 2008-06-03 06:19:50 +00:00
dimitr
1ebc716eb2 Misc. 2008-05-25 07:19:31 +00:00
dimitr
6a593eca17 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:41:24 +00:00
asfernandes
b2abfa3d8b Compatibility with Valgrind 3.3 2008-04-27 18:53:33 +00:00
asfernandes
cfb2b8ee91 Misc 2008-04-23 02:19:25 +00:00
robocop
05271261e1 Style. 2008-04-19 11:11:10 +00:00
asfernandes
3aca6f92b1 Misc 2008-03-21 02:42:24 +00:00
dimitr
13f5cc92e1 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:09:00 +00:00
dimitr
e3e9d3c172 Cleanup. 2008-02-20 15:25:20 +00:00
dimitr
d61abb2710 Misc. 2008-01-29 11:57:35 +00:00
dimitr
2b89d48d8f Misc. 2008-01-29 10:20:41 +00:00
alexpeshkoff
fa4354b0f3 Remove conditional compilation - it was raising hell in windows build 2008-01-24 15:01:02 +00:00
alexpeshkoff
0943027a19 do not initialize context pool in init() - TLS may be not ready for it 2008-01-24 11:09:37 +00:00
dimitr
e1d53429ae Fixed the win32 build. 2008-01-23 19:27:36 +00:00
asfernandes
aea2bcb354 Misc 2008-01-23 19:03:16 +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
af1a7bd430 Fixed the wrong assertion. 2007-09-17 05:56:16 +00:00
robocop
4211bbddd8 Misc. 2007-07-29 02:30:35 +00:00