Browse Source

[2091a] added a comment about future plans of sharing memsgmt for multi zones.

JINMEI Tatuya 12 years ago
parent
commit
78fe82d128
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/lib/datasrc/memory_datasrc.cc

+ 3 - 1
src/lib/datasrc/memory_datasrc.cc

@@ -147,7 +147,9 @@ struct ZoneData {
 
         // The assert may be too harsh, but we assume we'll discard (rewrite)
         // this code soon enough.  Until then this would be a good way to
-        // detect any memory leak.
+        // detect any memory leak.  Also, at that point we shouldn't use
+        // a single separate memory segment for each zone tree; normally
+        // zone data for multiple zones will be managed in a single segment.
         assert(local_mem_sgmt_.allMemoryDeallocated());
     }