Commit Graph

71 Commits (ec00f7f14fbf16992b71ddd54e583ba07fdfd523)

Author SHA1 Message Date
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Dave Parks c431ddf629 Automated merge with http://bitbucket.org/lindenlab/viewer-development 2012-11-08 13:05:29 -06:00
William Todd Stinson 11017315e6 MAINT-1753: Correcting behavior of ll_aligned_realloc_16() on Linux to avoid memory corruption in the case that the new memory size requested is smaller than the old memory size. Also, adding check to ensure that the aligned malloc returns a non-null value before memcopying. 2012-10-18 17:36:57 -07:00
simon@Simon-PC.lindenlab.com d6e3b0445a Merge in viewer-development code and fix build 2012-10-15 14:23:29 -07:00
Oz Linden 07899b2820 merge changes for DRTVWR-222 2012-10-04 20:12:51 -04:00
Dave Parks 05dbd7dafe Instrument debug builds on windows to help track down source of heap corruption 2012-10-02 16:06:14 -05:00
Dave Parks 9ec263d2f1 MAINT-1503 Minimal set of changes needed to safely disable tcmalloc 2012-09-12 15:44:36 -05:00
Oz Linden 97d969a338 initial attempt to restore changes that make removing tcmalloc possible; not tested 2012-09-12 14:36:37 -04:00
Dave Parks 7b6e81ab03 Handle the NULL case on ll_aligned_realloc_16 on linux 2012-09-12 11:46:43 -05: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
Dave Parks 3db0992871 MAINT-1503 Fix for linux build 2012-09-07 12:15:19 -05:00
Dave Parks 980d5a7555 MAINT-1503 Fix for ll_aligned_realloc returning non-aligned pointers on linux 2012-08-31 16:30:58 -05:00
Dave Parks d81d0433a5 MAINT-1503 Fix for ll_aligned_realloc returning non-aligned pointers on linux 2012-08-31 15:27:38 -05:00
William Todd Stinson e4db676717 Re-enabling tcmalloc in the build. 2012-09-28 12:06:46 -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
simon@Simon-PC.lindenlab.com b7555a3309 Merge back viewer-lion, which has viewer-development and down-stream fixes 2012-08-01 14:07:24 -07:00
Dave Parks 4a5ad35793 MAINT-570 Remove unused memory tracking system LLMemType 2012-07-20 11:42:15 -05:00
Brad Payne (Vir Linden) 60a9c8d7ab Fixes for alignment tests with tcmalloc 2012-01-11 15:59:34 -05: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) c8682722ad SH-2789 WIP - aligned alloc and realloc 2011-12-21 17:02:47 -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
Brad Payne (Vir Linden) e68d5e248f SH-2789 WIP - add asserts to check object address alignment where needed 2011-12-14 16:18:19 -05: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
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 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
brad kittenbrink 2a843e9a6b Fix up alignment problems for debug build.
reviewed by davep.
2011-05-12 16:09:42 -07:00
Xiaohong Bao b594d3b04d add debug mode to track the memory allocation/deallocation. 2011-05-10 21:02:20 -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 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 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 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 a3759a7815 add the class LLPrivateMemoryPoolManager 2011-01-06 16:17:38 -07:00
Xiaohong Bao f4a8027feb removed some debug code, redesigned the hash function, fixed bugs 2011-01-06 12:36:44 -07:00
Xiaohong Bao 5654abd50d a wroking version with a lot of debugging code (to be removed). 2011-01-04 13:14:36 -07:00
Xiaohong Bao 43f4429363 test code and some code change 2010-12-08 20:50:39 -07:00
Xiaohong Bao f4ff1430f0 first iteration of memory pool code 2010-12-03 22:16:16 -07:00
Dave Parks 15ee60e391 #ifdef out ll_align_malloc/free (gcc 4.2 is unhappy about some of the syntax there) 2010-12-03 03:28:00 -06:00
Oz Linden a5619d16f7 correct licenses (fix problem with license change merge) 2010-10-13 07:24:37 -04:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Matthew Breindel 6f2bd694d9 Fixed mac build (given LL_MESH_ENABLED set to 0). 2010-06-26 12:35:05 -07:00
Tofu Linden f40d07512a finish conversion to ll_aligned_*() wrappers 2010-06-04 09:04:36 +01:00