You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2003/05/21 23:35:32 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/schema SchemaGrammar.cpp

knoaman     2003/05/21 14:35:31

  Modified:    c/src/xercesc/validators/schema SchemaGrammar.cpp
  Log:
  Pass the memory manager.
  
  Revision  Changes    Path
  1.6       +6 -3      xml-xerces/c/src/xercesc/validators/schema/SchemaGrammar.cpp
  
  Index: SchemaGrammar.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/SchemaGrammar.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SchemaGrammar.cpp	18 May 2003 14:02:08 -0000	1.5
  +++ SchemaGrammar.cpp	21 May 2003 21:35:31 -0000	1.6
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.6  2003/05/21 21:35:31  knoaman
  + * Pass the memory manager.
  + *
    * Revision 1.5  2003/05/18 14:02:08  knoaman
    * Memory manager implementation: pass per instance manager.
    *
  @@ -146,11 +149,11 @@
       //  <TBD> Investigate what the optimum values would be for the various
       //  pools.
       //
  -    fElemDeclPool = new (fMemoryManager) RefHash3KeysIdPool<SchemaElementDecl>(109, 128, fMemoryManager);
  +    fElemDeclPool = new (fMemoryManager) RefHash3KeysIdPool<SchemaElementDecl>(109, true, 128, fMemoryManager);
   
       try {
  -        fElemNonDeclPool = new (fMemoryManager) RefHash3KeysIdPool<SchemaElementDecl>(29, 128, fMemoryManager);
  -        fGroupElemDeclPool = new (fMemoryManager) RefHash3KeysIdPool<SchemaElementDecl>(109, false);
  +        fElemNonDeclPool = new (fMemoryManager) RefHash3KeysIdPool<SchemaElementDecl>(29, true, 128, fMemoryManager);
  +        fGroupElemDeclPool = new (fMemoryManager) RefHash3KeysIdPool<SchemaElementDecl>(109, false, 128, fMemoryManager);
           fNotationDeclPool = new (fMemoryManager) NameIdPool<XMLNotationDecl>(109, 128, fMemoryManager);
           fIDRefList = new (fMemoryManager) RefHashTableOf<XMLRefInfo>(29, fMemoryManager);
           fDatatypeRegistry.expandRegistryToFullSchemaSet();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org