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

OpenJDK 1.8 High CPU usage on filesystem usage

XMLWordPrintable

    • x86_64
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      Debian 9 (Devuan 2.1)

      A DESCRIPTION OF THE PROBLEM :
      Since I switched to OpenJDK 1.8 (linux debian 9, openjdk version "1.8.0_242"), I encountered a lot of issue with filesystem usage.

      The CPU has really high usage peaks, over 150%, by only browsing files in applications like netbeans (8 to 11) and every other java apps that reads directories contents, resulting in a system slowdown after a bit.

      The problem seems to be not present in the Oracle JRE 1.8 bundled with old netbeans 8.2 (java version "1.8.0_101").
      The older OpenJDK provided by debian 8, was working well.

      REGRESSION : Last worked in version 8

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open a java based application and accessing the filesystem, results in very high cpu load peaks pretty soon.
      Some apps that read files (txt or images) from the filesystem, resulting in a crash.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I expect a lower cpu usage, normally, the cpu load is about 10%
      ACTUAL -
      Cpu usage over 150%

      CUSTOMER SUBMITTED WORKAROUND :
      Revert to an earlier version of JDK

      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: