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

Wrong comment in CgroupV1Subsystem::cpu_quota

    XMLWordPrintable

Details

    • b15
    • 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

                sgehwolf Severin Gehwolf
                sgehwolf Severin Gehwolf
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: