mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8273526: Extend the OSContainer API pids controller with pids.current
Reviewed-by: sgehwolf, iklam
This commit is contained in:
parent
74ffe12267
commit
d4546b6b36
14 changed files with 88 additions and 3 deletions
|
@ -365,6 +365,14 @@ public interface Metrics {
|
|||
*/
|
||||
public long getPidsMax();
|
||||
|
||||
/**
|
||||
* Returns the current number of tasks in the Isolation Group.
|
||||
*
|
||||
* @return The current number of tasks or -2 if not supported
|
||||
*
|
||||
*/
|
||||
public long getPidsCurrent();
|
||||
|
||||
/*****************************************************************
|
||||
* BlKIO Subsystem
|
||||
****************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue