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

javacserver failed during build: RejectedExecutionException

    XMLWordPrintable

Details

    • b18

    Description

      [2024-01-25T03:37:47,829Z] Compiling up to 4 files for BUILD_JIGSAW_TOOLS
      [2024-01-25T03:37:48,797Z] [stderr] java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@5539f4d9[Not completed, task = javacserver.server.CompilerThreadPool$$Lambda/0x00000001000c4670@51066a21] rejected from java.util.concurrent.ThreadPoolExecutor@68be2bc2[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
      [2024-01-25T03:37:48,808Z] [stderr] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081)
      [2024-01-25T03:37:48,824Z] [stderr] at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841)
      [2024-01-25T03:37:48,945Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10898/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d40bf9c2-5953-4af7-a0cb-dd915db5158d/runs/16f883db-02b2-4fab-ac3f-6c884dae9121/workspace/build/linux-aarch64-debug/buildtools/tools_jigsaw_classes/_the.BUILD_JIGSAW_TOOLS_batch] Error 1
      [2024-01-25T03:37:48,947Z] CompileModuleTools.gmk:47: recipe for target '/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10898/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d40bf9c2-5953-4af7-a0cb-dd915db5158d/runs/16f883db-02b2-4fab-ac3f-6c884dae9121/workspace/build/linux-aarch64-debug/buildtools/tools_jigsaw_classes/_the.BUILD_JIGSAW_TOOLS_batch' failed
      [2024-01-25T03:37:48,954Z] make[2]: *** [buildtools-modules] Error 2
      [2024-01-25T03:37:48,954Z] make[2]: *** Waiting for unfinished jobs....
      [2024-01-25T03:37:48,954Z] make/Main.gmk:91: recipe for target 'buildtools-modules' failed
      [2024-01-25T03:40:06,705Z]
      [2024-01-25T03:40:06,706Z] ERROR: Build failed for target 'default (product-bundles test-bundles static-libs-bundles)' in configuration 'linux-aarch64-debug' (exit code 2)
      [2024-01-25T03:40:06,764Z]
      [2024-01-25T03:40:06,764Z] === Output from failing command(s) repeated here ===
      [2024-01-25T03:40:06,765Z] * For target buildtools_tools_jigsaw_classes__the.BUILD_JIGSAW_TOOLS_batch:
      [2024-01-25T03:40:06,765Z] [stderr] java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@5539f4d9[Not completed, task = javacserver.server.CompilerThreadPool$$Lambda/0x00000001000c4670@51066a21] rejected from java.util.concurrent.ThreadPoolExecutor@68be2bc2[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
      [2024-01-25T03:40:06,765Z] [stderr] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081)
      [2024-01-25T03:40:06,765Z] [stderr] at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841)
      [2024-01-25T03:40:06,765Z]
      [2024-01-25T03:40:06,765Z] * All command lines available in /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10898/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d40bf9c2-5953-4af7-a0cb-dd915db5158d/runs/16f883db-02b2-4fab-ac3f-6c884dae9121/workspace/build/linux-aarch64-debug/make-support/failure-logs.
      [2024-01-25T03:40:06,765Z] === End of repeated output ===

      It has the appearance of the ThreadPoolExecutor being shutdown whilst tasks were still being submitted to it.

      Attachments

        Issue Links

          Activity

            People

              djelinski Daniel Jelinski
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: