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] Commented: (HARMONY-3820) [drlvm][jvmti][gcv5] JVMTI reports wrong threads for main thread group
Date Thu, 17 May 2007 12:23:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496546
] 

Ivan Popov commented on HARMONY-3820:
-------------------------------------

I've checked this issue with the latest Harmony build (r538813) and submitted two separate
issues which affect this problem: HARMONY-3893 and HARMONY-3894.

But even if these two issues are fixed, Eclipse still displays no threads if showing thread
groups is turned on. It occurs only if top level group "system" contains no threads (in GCv5
all internal GC threads are in "main" group). To fix problem internal GC threds should be
created in top level "system" group, not in default "main" group. In this case GC threads
will be also considered by Eclipse as system threads and not exposed to a user in default
mode.


> [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