Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9271 Workspace locks/slow when Invoking 'CDI (Contexts and Dependency Injection Builder)' on 'project'
  3. JBIDE-9608

When a cdi project is modified, each of projects that depend on it should be updated only once.

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M3
    • None
    • cdi
    • None

      Let there be three cdi projects: p1 depends on p2 and p3; p2 depends on p3. All dependencies are explicit. When change in p3 takes place, builder of p3 calls update for dependent projects p1, p2. Now update is implemented recurrently: update of p2 will call update of projects that depend on it, hence update of p1 will be called twice. If there are N projects in similar hierarchy, when the top project is modified, update of the bottom project will be called 2^(N - 2) times. Instead, we should remove recurrence and just collect projects that should be updated.

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: