]
Alexey Kazakov updated JBIDE-17015:
-----------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.0.Beta3)
Restrict number of dependency links stored by project contexts
--------------------------------------------------------------
Key: JBIDE-17015
URL:
https://issues.jboss.org/browse/JBIDE-17015
Project: Tools (JBoss Tools)
Issue Type: Task
Components: jsp/jsf/xml/html source editing
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.2.0.CR1
If a large project has too many dependencies between resources, the number of links may
get as big as a square of the number of resources. Storing and iterating collections of
links in this case will deteriorate the performance. We can set a reasonable limit, say
10000, and if reached, report info message to log. Then, we can either do full validation
each time instead of incremental, or add to log, that validation may fail fail to
reevaluate some resources dependent on changed ones.