New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI Freezes during "bug count" decoration #285
Labels
Comments
FYI, still happening with the newest eclipse and Spotbugs, all the stack traces are very similar to each other and basicalyl identical to the one reported above. UI freeze of 150s:
|
iloveeclipse
changed the title
UI Freezes Reported in Findbugs Eclipse
UI Freezes during "bug count" decoration
Feb 6, 2022
In light of https://bugs.eclipse.org/bugs/show_bug.cgi?id=450663#c69 I will see if the same approach can be applied for spotbugs decorator. |
Stacks on latest 4.23 build are
|
iloveeclipse
added a commit
that referenced
this issue
Feb 6, 2022
See for detailed discussion and used solution approach https://bugs.eclipse.org/bugs/show_bug.cgi?id=450663#c69 In short: one should not run any resource related operations on UI thread while decorating bug counts, because resource operations can take longer and UI will be frozen. The patch ports basically JDT fix for ProblemsLabelDecorator (see https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/190484) into the Spotbugs ResourceBugCountDecorator. The "only" difference is that we don't care about markers severities but want markers count, the rest is almost identical. Fixes issue #285
1 task
iloveeclipse
added a commit
that referenced
this issue
Feb 6, 2022
See for detailed discussion and used solution approach https://bugs.eclipse.org/bugs/show_bug.cgi?id=450663#c69 In short: one should not run any resource related operations on UI thread while decorating bug counts, because resource operations can take longer and UI will be frozen. The patch ports basically JDT fix for ProblemsLabelDecorator (see https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/190484) into the Spotbugs ResourceBugCountDecorator. The "only" difference is that we don't care about markers severities but want markers count, the rest is almost identical. Fixes issue #285
iloveeclipse
added a commit
that referenced
this issue
Feb 6, 2022
See for detailed discussion and used solution approach https://bugs.eclipse.org/bugs/show_bug.cgi?id=450663#c69 In short: one should not run any resource related operations on UI thread while decorating bug counts, because resource operations can take longer and UI will be frozen. The patch ports basically JDT fix for ProblemsLabelDecorator (see https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/190484) into the Spotbugs ResourceBugCountDecorator. The "only" difference is that we don't care about markers severities but want markers count, the rest is almost identical. Fixes issue #285
iloveeclipse
added a commit
that referenced
this issue
Feb 6, 2022
See for detailed discussion and used solution approach https://bugs.eclipse.org/bugs/show_bug.cgi?id=450663#c69 In short: one should not run any resource related operations on UI thread while decorating bug counts, because resource operations can take longer and UI will be frozen. The patch ports basically JDT fix for ProblemsLabelDecorator (see https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/190484) into the Spotbugs ResourceBugCountDecorator. The "only" difference is that we don't care about markers severities but want markers count, the rest is almost identical. Fixes issue #285
1 task
iloveeclipse
added a commit
that referenced
this issue
Feb 7, 2022
See for detailed discussion and used solution approach https://bugs.eclipse.org/bugs/show_bug.cgi?id=450663#c69 In short: one should not run any resource related operations on UI thread while decorating bug counts, because resource operations can take longer and UI will be frozen. The patch ports basically JDT fix for ProblemsLabelDecorator (see https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/190484) into the Spotbugs ResourceBugCountDecorator. The "only" difference is that we don't care about markers severities but want markers count, the rest is almost identical. Fixes issue #285
iloveeclipse
added a commit
that referenced
this issue
Feb 9, 2022
See for detailed discussion and used solution approach https://bugs.eclipse.org/bugs/show_bug.cgi?id=450663#c69 In short: one should not run any resource related operations on UI thread while decorating bug counts, because resource operations can take longer and UI will be frozen. The patch ports basically JDT fix for ProblemsLabelDecorator (see https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/190484) into the Spotbugs ResourceBugCountDecorator. The "only" difference is that we don't care about markers severities but want markers count, the rest is almost identical. Fixes issue #285
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Eclipse Reports UI Freezes on the label decorators of the findbugs plugin
here are a number of sample traces
disabling the count decorators for findbugs seems to help
The text was updated successfully, but these errors were encountered: