[jbosstools-issues] [JBoss JIRA] (JBIDE-19184) Threadlock when JS autocomplete turned on

Victor Rubezhny (JIRA) issues at jboss.org
Tue Feb 17 11:56:49 EST 2015


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

Victor Rubezhny edited comment on JBIDE-19184 at 2/17/15 11:56 AM:
-------------------------------------------------------------------

[~vpakan] Actually there is no some certain steps. I'm using anular-phonecat project which is added with a big JavaScript file (I've used http://www.envjs.com/dist/env.rhino.1.2.js which is about 700 kb length). The deadlock appears from time to time while playing with validation, content assist and getting tooltips on different javaScript files. It appears on any version prior the current 0.9.0 stream. 

Probably it make sense to open that "big" script in editor, play with it (due to make it loaded to Tern Server), then switch to other JavaScript and play with it due to make Tern.java to re-synchronize the files in Tern Server. For sure, the files synchronization (loading the Tern Server with actual set of files) process locks (or get locked with) the following calculation of Tooltip information.

Yet another thing is that I'm running JBT from under my eclipse workbench, using different versions of Tern.java plug-ins (got from github) so it can make a difference to "installed" JBT version. 


was (Author: vrubezhny):
[~vpakan] Actually there is no some certain steps. I'm using anular-phonecat project which is added with a big JavaScript file (I've used http://www.envjs.com/dist/env.rhino.1.2.js which is about 700 kb length). The deadlock appears from time to time while playing with validation, content assist and getting tooltips on different javaScript files. It appears on any version prior the current 0.9.0 stream. 

Yet another thing is that I'm running JBT from under my eclipse workbench, using different versions of Tern.java plug-ins (got from github) so it can make a difference to "installed" JBT version. 

> Threadlock when JS autocomplete turned on
> -----------------------------------------
>
>                 Key: JBIDE-19184
>                 URL: https://issues.jboss.org/browse/JBIDE-19184
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing, upstream
>    Affects Versions: 4.2.2.Final
>         Environment: JBDS 8.0.2
>            Reporter: Mustafa Musaji
>            Assignee: Victor Rubezhny
>            Priority: Critical
>             Fix For: 4.2.3.Beta1, 4.3.0.Alpha2
>
>         Attachments: threaddump_jdk1.7.0_71_1422011702000.txt
>
>
> Seeing  a thread lock when using large JS projects when trying to autocomplete. Please refer to attached thread dump.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list