summaryrefslogtreecommitdiff
path: root/indra/llcommon/llmemory.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-01-07 14:57:35 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-01-07 14:57:35 -0700
commit7daa3d1ca10199468946feef0ce8eb67489deee0 (patch)
treee212d4170de2e7d859d8ae855e1aeb2c001880ed /indra/llcommon/llmemory.h
parent9434f0c2a0e46c580a2aacc04cc1b58876bd3bd8 (diff)
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.
Diffstat (limited to 'indra/llcommon/llmemory.h')
-rw-r--r--indra/llcommon/llmemory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/llmemory.h b/indra/llcommon/llmemory.h
index e42dc174b5..5a2889958b 100644
--- a/indra/llcommon/llmemory.h
+++ b/indra/llcommon/llmemory.h
@@ -142,7 +142,8 @@ public:
bool containsAddress(const char* addr) const;
- static U32 getMaxOverhead(U32 data_buffer_size, U32 min_page_size) ;
+ static U32 getMaxOverhead(U32 data_buffer_size, U32 min_slot_size,
+ U32 max_slot_size, U32 min_block_size, U32 max_block_size) ;
void dump() ;