harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r507023 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
Date Tue, 13 Feb 2007 14:32:46 GMT
Author: varlax
Date: Tue Feb 13 06:32:45 2007
New Revision: 507023

URL: http://svn.apache.org/viewvc?view=rev&rev=507023
Log:
Debug tracing fixed.

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp?view=diff&rev=507023&r1=507022&r2=507023
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp Tue Feb 13 06:32:45
2007
@@ -535,6 +535,7 @@
     unsigned i;
     TRACE2("classloader.unloading.stats", "----------------------------------------------");
     TRACE2("classloader.unloading.stats", "Class unloading statistics:");
+    hythread_suspend_disable();
     for(i = 0; i < m_nextEntry; i++) {
         if(m_table[i]->m_unloading) {
             TRACE2("classloader.unloading.stats", "  Class loader "
@@ -543,6 +544,7 @@
                 << ") contains " << m_table[i]->GetFullSize() << " bytes
in C heap");
         }
     }
+    hythread_suspend_enable();
     TRACE2("classloader.unloading.stats", "A total of "
         << m_unloadedBytes << " bytes would be freed in C heap for this scenario");
     TRACE2("classloader.unloading.stats", "----------------------------------------------");



Mime
View raw message