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

Reduce make Init.gmk logging overhead

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b16

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: