You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/02/06 19:29:00 UTC
[jira] [Created] (HTTPCORE-511) Do not cache result of
Runtime.getRuntime().availableProcessors() in IOReactorConfig
Gary Gregory created HTTPCORE-511:
-------------------------------------
Summary: Do not cache result of Runtime.getRuntime().availableProcessors() in IOReactorConfig
Key: HTTPCORE-511
URL: https://issues.apache.org/jira/browse/HTTPCORE-511
Project: HttpComponents HttpCore
Issue Type: Improvement
Components: HttpCore NIO
Reporter: Gary Gregory
Assignee: Gary Gregory
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org