You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2015/07/29 14:59:04 UTC
[jira] [Closed] (TAP5-2477) Improvement of
PerthreadManagerImpl.getPerthreadMap
[ https://issues.apache.org/jira/browse/TAP5-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade closed TAP5-2477.
--------------------------------
Resolution: Fixed
I replaced the {{AtomicBoolean}} by a {{volatile boolean}}. Thanks for sharing your findings [~m.fedotova].
> Improvement of PerthreadManagerImpl.getPerthreadMap
> ---------------------------------------------------
>
> Key: TAP5-2477
> URL: https://issues.apache.org/jira/browse/TAP5-2477
> Project: Tapestry 5
> Issue Type: Improvement
> Affects Versions: 5.4
> Reporter: Maria Fedotova
> Assignee: Jochen Kemnade
> Labels: patch, perfomance
> Attachments: TAP5-2477.patch
>
>
> In this patch we removed this code
> {code}
> if (shutdown.get())
> {
> return CollectionFactory.newMap();
> }
> {code}
> And it decreased time per request on 11% (~20ms).
> This patch is already in our production.
> Thank [~mihasik] for the idea.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)