Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9091

Replace Runtime.getRuntime().availableProcessors() usage with a cgroups quota-aware implementation

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.2.1.Final
    • Fix Version/s: 9.3.0.Beta1
    • Component/s: Core
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  NadirX Tristan Tarrant
                  Reporter:
                  NadirX Tristan Tarrant
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: