Skip to content

GroovyEditor.updateOccurenceAnnotation blocks Eclipse UI thread for no reason  #250

@frozenspider

Description

@frozenspider

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

Stuff captured with VisualVM:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions