You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Eclipse (GGTS) to work with a rather big Grails project, and from time to time it just hangs for no apparent reason for a several minutes (!). This makes Eclipse almost unbearable to use.
Last time I got enough of it, so I used Java VisualVM to investigate what's happening.
As it turned out, the culprit is GroovyEditor.updateOccurenceAnnotation which executes in main thread, rendering Eclipse completely unresponsive and unusable randomly for few minutes straight.
My environment details:
Windows 8.1
jdk1.7.0_45 x64
GGTS 3.6.4.RELEASE with Groovy-Eclipse Feature 2.9.2.xx-201502281941-e44
@frozenspider Could you try to recreate with the latest Groovy-Eclipse snapshot? There have been a lot of changes recently. The update annotation method suggests this may be somehow related to #155.
I'm having a look at the code in question. If you want to work around this problem without an update, you can toggle off the Mark Occurrences item in the toolbar (Alt-Shift-O).
Can you try again with the latest snapshot release? There is nothing running in the UI thread that the Java editor does not do for the same purpose. That being said, it does parse and partially compile the source in order to located occurrences. This can take a couple seconds in some cases. The GroovyOccurrencesFinder uses the CodeSelectHelper to find occurrences and the helper has been fixed up a lot recently.
I'm using Eclipse (GGTS) to work with a rather big Grails project, and from time to time it just hangs for no apparent reason for a several minutes (!). This makes Eclipse almost unbearable to use.
Last time I got enough of it, so I used Java VisualVM to investigate what's happening.
As it turned out, the culprit is
GroovyEditor.updateOccurenceAnnotation
which executes in main thread, rendering Eclipse completely unresponsive and unusable randomly for few minutes straight.My environment details:
Groovy-Eclipse Feature 2.9.2.xx-201502281941-e44
Stuff captured with VisualVM:
The text was updated successfully, but these errors were encountered: