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

Wrong comment in CgroupV1Subsystem::cpu_quota

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • OS:
      linux

      Backports

        Description

        It says this for CgroupV1Subsystem::cpu_quota:

        /* cpu_quota
         *
         * Return the number of milliseconds per period
         * process is guaranteed to run.
         *
         * return:
         * quota time in milliseconds
         * -1 for no quota
         * OSCONTAINER_ERROR for not supported
         */

        It's actually microseconds, not millisecods.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sgehwolf Severin Gehwolf
                Reporter:
                sgehwolf Severin Gehwolf
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: