[infinispan-issues] [JBoss JIRA] (ISPN-9114) Replace Runtime.getRuntime().availableProcessors() usage with a cgroups quota-aware implementation
Tristan Tarrant (JIRA)
issues at jboss.org
Wed May 2 09:50:01 EDT 2018
Tristan Tarrant created ISPN-9114:
-------------------------------------
Summary: Replace Runtime.getRuntime().availableProcessors() usage with a cgroups quota-aware implementation
Key: ISPN-9114
URL: https://issues.jboss.org/browse/ISPN-9114
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.2.1.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Java's Runtime.getRuntime().availableProcessors() doesn't take into account cgroup quotas correctly. Provide our own implementation that does.
See https://github.com/wildfly/wildfly-common/blob/master/src/main/java/org/wildfly/common/cpu/ProcessorInfo.java
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list