Commit Graph

314 Commits

Author SHA1 Message Date
Nicholas Nethercote
7e3ebd3ec7 Bug 703113 - Fix overshadowed |pageSize| variable in Connection::initialize. r=mak. 2011-11-23 14:22:13 -08:00
Taras Glek
7f44f954dd Bug 701563: Break out webapps sqlite overhead from sqlite_other* r=mak 2011-11-10 17:01:40 -08:00
Marco Bonardo
0f9feaf9b3 Bug 692487 - Decrease Storage connections default cache_size.
r=sdwilsh
2011-11-09 15:06:40 +01:00
Marco Bonardo
7296550682 Bug 658303 - mozIStorageConnection::Clone() should copy over pragmas.
r=sdwilsh
2011-10-03 21:55:03 +02:00
Nicholas Nethercote
6313e20983 Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar. 2011-11-03 20:53:41 -07:00
David Rajchenbach Teller
a1327f07f5 Bug 693667 - Track time from requesting an async query to completion via telemetry r=taras 2011-10-13 10:48:40 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Nathan Froyd
4e884da89b Bug 682869 - update places to use Telemetry::AccumulateTimeDelta. r=tglek,khuey,jduell
--HG--
extra : rebase_source : 2b691d94f8352efb13e92294e22844e6473fd458
2011-10-10 13:05:47 -04:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Luke Wagner
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Neil Rashbrook
c59400d1b6 Bug 660532 Remove useless uses of PromiseFlatCString r=sdwilsh 2011-09-15 09:36:07 +01:00
Jezreel Ng
952495179e Bug 666611 - Do not set chunksize if less than 500MiB of storage is available. r=mak 2011-09-05 10:29:06 +01:00
Marco Bonardo
f385bb121a Bug 666420 - Upgrade to SQLite 3.7.7.1 - Telemetry VFS shim update.
r=sdwilsh
2011-08-26 13:43:15 +02:00
Ben Turner
47b4c0a8d0 Bug 681930, r=sicking. 2011-08-26 01:21:35 -07:00
Nicholas Nethercote
af7a092aef Bug 662989 - Avoid crashing if a DB connection isn't asyncClose()d when it should be. r=mak. 2011-08-04 16:15:03 -07:00
Marco Bonardo
b18c921ac6 Backout changeset 4c509d9b5b59 (Bug 666611) due to failure on Windows. 2011-08-04 14:26:59 +02:00
Jezreel Ng
9979c061cd Bug 666611 - Do not set chunksize if less than 100MiB of storage is available. r=mak 2011-08-04 09:04:52 +02:00
Taras Glek
6769ff0594 Bug 675737: Calculate time taken for by write/open/sync per db + main/other thread r=mak 2011-08-03 17:05:29 -07:00
Taras Glek
61e0c70faa Bug 673727: Report sqlite waiting on/off main thread via telemetry r=mak 2011-07-26 15:06:34 -07:00
Taras Glek
1800d8f336 Bug 668378: Telemetry sqlite IO r=asuth 2011-07-21 11:12:31 -07:00
Steve Fink
b5b601df06 Bug 668906 - Do not call openUnsharedDatabase with a null file (r=sdwilsh)
--HG--
extra : rebase_source : fbd0febc77e9972d10409ce09c73759f7d156ad1
2011-07-01 15:53:41 -07:00
Nicholas Nethercote
7b61ea2b0e Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Ed Morley
bae766be77 Bug 665549 - Fix unused variable warning for 'shutdownObserved' in mozStorageService.cpp; r=sdwilsh 2011-06-23 19:01:17 -07:00
Jeff Walden
e84bb50504 Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb
--HG--
extra : rebase_source : a6028a859cac4625ef2f3227ce0fa3159b5e8556
2011-06-09 01:12:21 -07:00
Nicholas Nethercote
3f2c2d551f Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Masayuki Nakano
a6fe92c33e Bug 660743 storage should use mozilla::Preferences r=roc+sdwilsh 2011-06-02 10:05:12 +09:00
Marco Bonardo
1d4d6212bb Merge places and mozilla-central. a=developers 2011-05-24 04:51:59 +02:00
Marco Bonardo
a363c063f6 Bug 658135 - Use sqlite3_stmt_readonly to check if multiple async statements need a transaction.
r=sdwilsh
2011-05-24 00:15:01 +02:00
Nicholas Nethercote
6e6a7e6844 Bug 649867 - Remove the heap-used/storage/lookaside-used memory reporter. r=sdwilsh. 2011-05-22 19:50:14 -07:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Nicholas Nethercote
abb04b1933 Bug 653630 - Change SQLite memory reporters to avoid double-counting some memory usage. r=sdwilsh. 2011-05-11 16:09:50 -07:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Allison Naaktgeboren
28fa217b5a Bug 472530 - when statement creation fails, dump lastErrorText to stdout in debug builds r=sdwilsh
--HG--
extra : rebase_source : ab3a18131377d37715e5ec5474f94966f78f714f
2011-04-29 14:35:22 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Doug Turner ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E)
ef70e47ce5 Bug 615978 - Add SQLITE_DBSTATUS_* memory usage to memory reporter
Adds some finer-grained memory reporting about SQLite usage.
r=asuth
2011-03-31 10:19:30 -07:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Justin Lebar
7e2c5ae50d Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Marco Bonardo
37cc2cd994 Bug 637957 - Followup, add proper QI. rs=mossop a=blocker-orange-fix 2011-03-02 21:25:11 +01:00
Marco Bonardo
c9a5aabb5f Bug 637957 - Make results notifier hold a strong reference to mCallback, to prevent it being destroyed prematurely.
r=sdwilsh a=blocker
2011-03-02 19:55:08 +01:00
Shawn Wilsher
bd975c9f6f Bug 635482 - Crash [@ mozalloc_abort(char const* const) | NS_DebugBreak_P | AbortIfOffMainThreadIfCheckFast ] (was: [@ mozalloc_abort(char const* const) | NS_DebugBreak_P]) from nsCycleCollectingAutoRefCnt::decr with mozilla::storage::BindingParams::Release
Be very explicit about what thread we release objects on.
r=asuth
a=blocking
2011-02-28 11:52:31 -08:00
Phil Ringnalda
0b2c623018 Back out f9e075d85552 (Bug 635482) to investigate Mac tp4 regression, a=backout 2011-02-27 10:27:44 -08:00
Shawn Wilsher
c659beeda2 Bug 635482 - Crash [@ mozalloc_abort(char const* const) | NS_DebugBreak_P | AbortIfOffMainThreadIfCheckFast ] (was: [@ mozalloc_abort(char const* const) | NS_DebugBreak_P]) from nsCycleCollectingAutoRefCnt::decr with mozilla::storage::BindingParams::Release
Be very explicit about what thread we release objects on.
r=asuth
a=blocking
2011-02-25 16:12:00 -08:00
Marco Bonardo
0786c95d93 Bug 628921 - Changing from WAL to a rollback journal to change page_size may cause a infinite loop @AsyncExecuteStatements::executeStatement.
r=sdwilsh a=blocking
2011-02-16 13:51:26 +01:00
Shawn Wilsher
a1d7cbb0a0 Bug 580790 - Connection::initialize can access preferences off of the main thread
This fixes the storage service so that it caches the value from the
preference service, and obtains the value once on the main thread.
r=asuth
sr=shaver
a=blocking2.0
2010-08-06 10:28:46 -07:00