Commit Graph

74 Commits (d77edcdf137e76b135cf8dbf70d10bcda34b00a0)

Author SHA1 Message Date
Nicky 2c880e6cce Remove functionally not used since month (op. new/delete/pool) or that was the same as LL's (*_aligned_*) 2013-10-09 20:40:27 +02:00
Nicky 2a4bafc3dd Rework allocation logging so other parts can hook into it to report their stats too. 2013-10-07 16:59:46 +02:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
William Todd Stinson e1bc3cb096 MAINT-1684: Correcting the calls to ll_aligned_free() which should have actually been to ll_aligned_free_16(). 2012-10-11 18:25:13 -07:00
William Todd Stinson 572d4bc071 MAINT-1684: Attempt at correcting the linux crash on startup. Replacing the memory allocations and frees in the LLPrivateMemoryPool with aligned memory allocations and frees. 2012-10-11 16:47:16 -07:00
Oz Linden 97d969a338 initial attempt to restore changes that make removing tcmalloc possible; not tested 2012-09-12 14:36:37 -04:00
William Todd Stinson a766e26db4 Backing out the changes contributing to DRTVWR-167 and DRTVWR-179 from the repository. 2012-09-10 10:37:02 -07:00
Nicky 9b5cc28e76 Refactor code. All nd*.cpp/h files are now in their own subdirectory. 2013-01-27 18:53:56 +01:00
Nicky d57fe1312f Add logging fot nd::memorypool. 2013-01-06 03:29:21 +01:00
Nicky ceea332a9c Change old style comments <ND> to <FS:ND> to avoid any future confusion/ 2012-12-16 05:19:32 +01:00
Tank_Master 93d4b47252 Merge LL 3.4.1 beta 10 2012-10-26 09:59:19 -07:00
simon@Simon-PC.lindenlab.com 173d0fa213 Pull in viewer-development because it's painful. Merge with runitai's help. 2012-07-11 16:15:23 -07:00
Tank_Master 999bd2130e Merge LL 3.4.0 release 2012-09-13 15:19:30 -07:00
Tank_Master d9c7b9253d merge LL 3.4.0 viewer-beta 2012-08-31 00:18:30 -07:00
Brad Payne (Vir Linden) 1435a8b9e6 SH-2789 WIP - stricter calling of memcpyNonAliased16 2012-01-04 15:21:23 -05:00
Brad Payne (Vir Linden) 9c2e0d84f8 SH-2789 WIP - various fixes to force 16-byte alignment 2011-12-19 18:17:18 -05:00
Ansariel 363d41a34e Fixing a merge issue in memory handling. Reverts fixes for FIRE-3760 & FIRE-3834 and applies missing fix for SH-2624 by Bao Linden
This enables private memory pools again!
2011-12-31 17:25:34 +01:00
Xiaohong Bao 9850e09f76 trivial: update the memory pool log info to the latest. 2011-11-22 11:51:49 -07:00
Brad Payne (Vir Linden) 51c7887f8d merge 2011-10-31 11:35:22 -04:00
Xiaohong Bao 0637fe27bc fix for SH-2624: crash at LLPrivateMemoryPoolManager::freeMem: ASSERT (!addr) 2011-10-25 22:53:40 -06:00
Oz Linden 9785506d56 merge changes for storm-1651 2011-10-17 16:27:18 -04:00
Dave Parks 4924f0c99b b782a75c99e6 backout cleanup 2011-10-14 12:38:48 -05:00
Xiaohong Bao 897972636d fix for SH-2464: Crash on exit in LLPrivateMemoryPoolManager::freeMem 2011-10-10 16:31:56 -06:00
Xiaohong Bao 616a7b549d fix for VWR-26864: Recent commit to Snowstorm project introduces frequent errors and crashes associated with private memory pool. 2011-09-07 23:23:08 -06:00
Xiaohong Bao ba2ae6bc95 re-write the hash table code to eliminate potential flaws and simplify the implementation. 2011-09-02 11:17:03 -06:00
Xiaohong Bao 48d949150c add a debug setting "MemoryPrivatePoolEnabled" to turn on/off private memory pool. 2011-07-20 16:05:19 -06:00
Xiaohong Bao 5ee90d7848 fix a merge error 2011-07-20 10:24:44 -06:00
Xiaohong Bao 76eca5d0bc fix for memory alignment to 16 bytes. 2011-07-19 23:17:55 -06:00
Xiaohong Bao d951267467 Merge from viewer-development 2011-07-15 12:14:34 -06:00
Xiaohong Bao d31e673537 fix a crash 2011-05-11 14:41:23 -06:00
Xiaohong Bao d696977c70 fix a crash 2011-05-11 14:23:15 -06:00
Xiaohong Bao 39f033a013 fix a linux compiling error. 2011-05-10 21:13:20 -06:00
Xiaohong Bao b594d3b04d add debug mode to track the memory allocation/deallocation. 2011-05-10 21:02:20 -06:00
Xiaohong Bao 17854c4e87 fix an issue on mac and linux, also fix an assertion. 2011-04-04 14:40:07 -06:00
Xiaohong Bao a40ee94cd6 fix the bug for mac and linux of continuously adjusting memory. 2011-04-04 10:00:29 -06:00
Xiaohong Bao fc106df530 fix the compiling error: "free" is defined and in use globally. 2011-02-24 19:47:55 -07:00
Xiaohong Bao 108980f68c add types to LLPrivateMemoryPool 2011-02-23 17:53:08 -07:00
Xiaohong Bao d593f5c1d3 fix a merge error 2011-02-23 14:35:53 -07:00
Xiaohong Bao 1f0cc07482 fix an assert error 2011-02-23 12:41:33 -07:00
Xiaohong Bao bfa25219b8 Automated merge with ssh://hg.lindenlab.com/bao/private-memory-pool 2011-02-23 11:10:13 -07:00
Xiaohong Bao 01cdeb0cdd Merge from viewer-development 2011-02-23 10:44:59 -07:00
Loren Shih fbc6e5d639 Automated merge up from viewer-development into mesh-development 2011-02-01 11:28:22 -05:00
Xiaohong Bao 2ca05d4996 trivial: convert to "unix return" 2011-01-28 17:01:18 -07:00
Xiaohong Bao 6531eed04e add "pause" function for SH-846: design and implement the debug code to locate memory leaking 2011-01-26 17:03:30 -07:00
Xiaohong Bao 8f54dc2958 for SH-846: design and implement the debug code to locate memory leaking 2011-01-26 11:13:04 -07:00
Xiaohong Bao bcb5b209d1 trivial: fix some mac compiling errors 2011-01-12 07:51:14 -08:00
Xiaohong Bao 7daa3d1ca1 fixed a hash bug, enlarged the overhead for large allocations, and add new chunk to the tail of the linked list so new allocations go to oldest chunks first. 2011-01-07 14:57:35 -07:00
Xiaohong Bao 9434f0c2a0 fix an exit crash. 2011-01-06 16:48:00 -07:00
Xiaohong Bao a3759a7815 add the class LLPrivateMemoryPoolManager 2011-01-06 16:17:38 -07:00