harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3820) [drlvm][jvmti][gcv5] JVMTI reports wrong threads for main thread group
Date Mon, 07 May 2007 13:15:15 GMT
[drlvm][jvmti][gcv5] JVMTI reports wrong threads for main thread group
----------------------------------------------------------------------

                 Key: HARMONY-3820
                 URL: https://issues.apache.org/jira/browse/HARMONY-3820
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Windows/x86, harmony-jdk-r535765 
            Reporter: Ivan Popov


After switching to GCv5 JVMTI reports wrong threads for the "main" thread group. There ara
a lot of "finalizer" threads and no "main" thread. 

To reproduce this run HelloWorld in Eclipse debugger, stop at breakpoint, turn on showing
threads groups in the main menu of Debug view and see threads list.

With GCv5:

HelloWorld [Java Application]	
	HelloWorld at localhost:1067	
		Thread Group [system]	
			Thread Group [main]	
				Daemon Thread [ref handler] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)	
				Daemon Thread [finalizer] (Running)

With GCv41 (using -XX:vm.dlls=gc_cc.dll):

HelloWorld [Java Application]	
	HelloWorld at localhost:1045	
		Thread Group [system]	
			Daemon System Thread [FinalizerThread] (Running)	
			Thread Group [main]	
				Thread [main] (Suspended (breakpoint at line 5 in HelloWorld))	
					HelloWorld.main(String[]) line: 5


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message