[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4534) Execution JUnit tests for VPE sometimes sleeps for long time

Maxim Areshkau (JIRA) jira-events at lists.jboss.org
Tue Jun 30 04:38:28 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12474260#action_12474260 ] 

Maxim Areshkau commented on JBIDE-4534:
---------------------------------------

Also if situation with sleep of junit test repeated it's will be good use smth like visualvm to grub thread dump for finding thread locks.
See example of this tool here http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240904#4240904

> Execution JUnit tests for VPE sometimes sleeps for long time
> ------------------------------------------------------------
>
>                 Key: JBIDE-4534
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4534
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>            Reporter: Maxim Areshkau
>            Assignee: Denis Golovin
>            Priority: Critical
>             Fix For: 3.1.0.M3
>
>         Attachments: MainThread.txt, ThradWhichBlocksMaiinThread.txt
>
>
> Execution of junit tests sometimes sleeps. Hard to reproduce.
> In VpeController see line 266, place of main thread sleep. 			
> if (xm != null) {
> 				WebProject.getInstance(xm).getTaglibMapping().revalidate(
> 						WebAppHelper.getWebApp(xm));
> 			}
> Method 'revalidate' is synchronized and blocked by other thread.
> See threads stacks in attachment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list