harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r538881 - /harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/commands/VirtualMachine.cpp
Date Thu, 17 May 2007 12:11:24 GMT
Author: gshimansky
Date: Thu May 17 05:11:23 2007
New Revision: 538881

URL: http://svn.apache.org/viewvc?view=rev&rev=538881
Log:
Applied HARMONY-3893 [jdktools][jpda] JDWP command VirtualMachine.TopLevelThreads is incorrect


Modified:
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/commands/VirtualMachine.cpp

Modified: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/commands/VirtualMachine.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/commands/VirtualMachine.cpp?view=diff&rev=538881&r1=538880&r2=538881
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/commands/VirtualMachine.cpp
(original)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/commands/VirtualMachine.cpp
Thu May 17 05:11:23 2007
@@ -318,16 +318,14 @@
 
 #ifndef NDEBUG    
         if (JDWP_TRACE_ENABLED(LOG_KIND_DATA)) {
-            for (i = 0; i < groupCount; i++) {
-                jvmtiThreadGroupInfo info;
-                info.name = 0;
-                JVMTI_TRACE(err, GetJvmtiEnv()->GetThreadGroupInfo(groups[i], &info));
-                JvmtiAutoFree jafInfoName(info.name);
+            jvmtiThreadGroupInfo info;
+            info.name = 0;
+            JVMTI_TRACE(err, GetJvmtiEnv()->GetThreadGroupInfo(groups[i], &info));
+            JvmtiAutoFree jafInfoName(info.name);
         
-                JDWP_TRACE_DATA("TopLevelThreadGroup: send: group#" << i 
+            JDWP_TRACE_DATA("TopLevelThreadGroup: send: group#" << i 
                 << ", groupID=" << groups[i]
                 << ", name=" << JDWP_CHECK_NULL(info.name));
-            }
         }
 #endif
 



Mime
View raw message