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

Application on JDK11 consume 100% CPU after a few hours of uptime

    XMLWordPrintable

    Details

      Description

      The use of StackWalker API causes 100% CPU usage for the thread having the following stack trace:

      java.lang.Thread.State: RUNNABLE
      at java.lang.StackStreamFactory$AbstractStackWalker.callStackWalk(java.base@11.0.2/Native Method)
      at java.lang.StackStreamFactory$AbstractStackWalker.beginStackWalk(java.base@11.0.2/StackStreamFactory.java:370)
      at java.lang.StackStreamFactory$AbstractStackWalker.walk(java.base@11.0.2/StackStreamFactory.java:243)
      at java.lang.StackWalker.walk(java.base@11.0.2/StackWalker.java:498)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: