You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2005/05/03 18:33:08 UTC

cvs commit: xml-xalan/c/src/xalanc/Harness XalanDiagnosticMemoryManager.cpp

dbertoni    2005/05/03 09:33:08

  Modified:    c/src/xalanc/Harness XalanDiagnosticMemoryManager.cpp
  Log:
  Don't dump statistics when reporting an allocation error with a locked instance.
  
  Revision  Changes    Path
  1.3       +1 -3      xml-xalan/c/src/xalanc/Harness/XalanDiagnosticMemoryManager.cpp
  
  Index: XalanDiagnosticMemoryManager.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Harness/XalanDiagnosticMemoryManager.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XalanDiagnosticMemoryManager.cpp	25 Apr 2005 18:35:57 -0000	1.2
  +++ XalanDiagnosticMemoryManager.cpp	3 May 2005 16:33:08 -0000	1.3
  @@ -78,8 +78,6 @@
                         << " bytes from locked instance "
                         << this
                         << ".\n";
  -
  -            dumpStatistics(m_stream);
           }
   
           throw LockException();
  @@ -201,7 +199,7 @@
   
               XALAN_USING_XERCES(XMLPlatformUtils);
   
  -	        const size_type     theHeaderSize =
  +            const size_type     theHeaderSize =
                   XMLPlatformUtils::alignPointerForNewBlockAllocation(sizeof(MemoryManager*));
   
               const char* const   theChars =
  
  
  

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