]
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
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: