harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r571469 - /harmony/enhanced/buildtest/branches/2.0/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/management/SystemResourceOrientedTest.java
Date Fri, 31 Aug 2007 14:03:50 GMT
Author: gshimansky
Date: Fri Aug 31 07:03:49 2007
New Revision: 571469

URL: http://svn.apache.org/viewvc?rev=571469&view=rev
Log:
Get total classes after currently loaded classes


Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/management/SystemResourceOrientedTest.java

Modified: harmony/enhanced/buildtest/branches/2.0/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/management/SystemResourceOrientedTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/management/SystemResourceOrientedTest.java?rev=571469&r1=571468&r2=571469&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/management/SystemResourceOrientedTest.java
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/management/SystemResourceOrientedTest.java
Fri Aug 31 07:03:49 2007
@@ -81,9 +81,9 @@
             // class loading
             ClassLoadingMXBean cmb = ManagementFactory.getClassLoadingMXBean();
             cmb.isVerbose();
-            long l1 = cmb.getTotalLoadedClassCount();
             long l2 = cmb.getLoadedClassCount();
             long l3 = cmb.getUnloadedClassCount();
+            long l1 = cmb.getTotalLoadedClassCount();
             if ((l2 + l3) > l1){
                 failed = true;
                 log.add("Number of currently loaded (" + l2 + ") and unloaded (" + l3 +



Mime
View raw message