Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220383

Incremental build is broken and inefficient

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 13
    • 13
    • infrastructure
    • None
    • b12

      Our incremental build performance has degraded a lot recently. On Windows it's especially bad (as usual). There are multiple issues. Some cases of running way too many find/grep during rule setup. Some files get rebuilt on every incremental build.

      We also have a rather inefficient pattern where a makefile is responsible for two top level targets, the general build of something and then the copying of that something into images. The drawback of this pattern is that all the rules in the makefile get evaluated twice, and this is potentially expensive. My workaround for this is to enclose the expensive parts in conditionals that check what target the makefile was called with.

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: