[
https://issues.apache.org/jira/browse/HTTPCORE-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16354441#comment-16354441
]
Sebb commented on HTTPCORE-511:
-------------------------------
FTR: many physical multi-cpu systems also allow CPUs to be added to or removed
from the available pool.
> 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
> Priority: Major
> Fix For: 4.4.10, 5.0-beta3
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]