Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8252957: Wrong comment in CgroupV1Subsystem::cpu_quota #176

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hotspot/src/os/linux/vm/cgroupV1Subsystem_linux.cpp
Original file line number Diff line number Diff line change
@@ -212,11 +212,11 @@ char * CgroupV1Subsystem::cpu_cpuset_memory_nodes() {

/* cpu_quota
*
* Return the number of milliseconds per period
* Return the number of microseconds per period
* process is guaranteed to run.
*
* return:
* quota time in milliseconds
* quota time in microseconds
* -1 for no quota
* OSCONTAINER_ERROR for not supported
*/
4 changes: 2 additions & 2 deletions hotspot/src/os/linux/vm/cgroupV2Subsystem_linux.cpp
Original file line number Diff line number Diff line change
@@ -82,11 +82,11 @@ int CgroupV2Subsystem::cpu_shares() {

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