Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-511

Do not cache result of Runtime.getRuntime().availableProcessors() in IOReactorConfig

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.10, 5.0-beta3
    • Component/s: HttpCore NIO
    • Labels:
      None

      Description

      Do not cache the result of Runtime.getRuntime().availableProcessors() in IOReactorConfig since the result value can change. For example, some virtualization software let you change the number of virtual CPUs while the VM is running.

        Attachments

          Activity

            People

            • Assignee:
              ggregory Gary D. Gregory
              Reporter:
              ggregory Gary D. Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: