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

ForkJoinPool: worker may get stuck in endless loop inside ForkJoinPool#deregisterWorker

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux game26-ams01-eu 3.13.0-112-generic #159-Ubuntu SMP Fri Mar 3 15:26:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      Worker threads may get stuck in endless loop inside deregisterWorker as result causing very high CPU usage (100%).
      We have a few JFR files, it maybe more clear if you look at them but in general it looks like this:
      Stack Trace Sample Count Percentage(%)
      java.util.concurrent.ForkJoinPool.deregisterWorker(ForkJoinWorkerThread, Throwable) 2 568 99,689
         java.util.concurrent.ForkJoinPool.tryTerminate(boolean, boolean) 2 568 99,689



      REPRODUCIBILITY :
      This bug can be reproduced rarely.

        Attachments

          Activity

            People

            • Assignee:
              dl Doug Lea
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: