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

Reduce make Init.gmk logging overhead

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • 13
    • infrastructure
    • None
    • b16

      The Init.gmk and InitSupport.gmk makefiles provide the foundational framework for bootstrapping the build. That bootstrap process has grown over time and is starting to take significant time to execute on Windows. One reason for this is that every extra command executed at this level gets the whole build log piping construct added to it. On Windows, this amounts to quite a few extra processes.

      I would like to reduce this by introducing a simpler log piping construct for commands that are not expected to generate both stdout and stderr output, typically simple "echo" and "printf" statements. For these a simple "| tee -a <logfile>" should suffice.

      This change slightly improves incremental build performance on Windows.

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

              Created:
              Updated:
              Resolved: