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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.3.0.Final
    • 9.2.1.Final
    • Core
    • None

      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

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: