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

Missing explicit dependencies of build-microbenchmark cause intermittent build failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      The build-microbenchmark target currently depends on a few modules, but actually has compile dependencies on at least one additional (java.xml). This went unnoticed since once a few modules like jdk.unsupported and java.management has been built, many other modules will have already been built since this phase is typically highly parallelized. On some systems this intermittently fail, making it obvious that an explicit dependency is needed.

      While more fine-grained options exist, if we were to change to depend on exploded-image we will probably avoid any future fragility altogether with only minimal effective difference in build task parallelism:

      - build-microbenchmark: interim-langtools jdk.unsupported java.management
      + build-microbenchmark: interim-langtools exploded-image

        Attachments

          Activity

            People

            • Assignee:
              redestad Claes Redestad
              Reporter:
              redestad Claes Redestad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: