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

Ensure enough data is available when reporting CPU load on Linux

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • None
    • core-svc
    • None

      When querying System, or Process CPU Load from OperatingSystemMXBean twice in quick sequence, the second call will sometimes have too few ticks to calculate the CPU load reliably on Linux.

      In the Windows implementation, there is a 500 ticks duration requirement to actually update the CPU load. It'd make sense to unify the CPU load reporting over platforms.

            jnordstrom Joakim Nordström
            jnordstrom Joakim Nordström
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: