[jbossts-issues] [JBoss JIRA] (JBTM-2990) ThreadUtil performance improvement

Ondra Chaloupka (JIRA) issues at jboss.org
Tue Feb 27 06:59:01 EST 2018


     [ https://issues.jboss.org/browse/JBTM-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondra Chaloupka updated JBTM-2990:
----------------------------------
    Fix Version/s: 5.8.0.Final


> ThreadUtil performance improvement
> ----------------------------------
>
>                 Key: JBTM-2990
>                 URL: https://issues.jboss.org/browse/JBTM-2990
>             Project: JBoss Transaction Manager
>          Issue Type: Enhancement
>          Components: Transaction Core
>    Affects Versions: 5.7.2.Final
>            Reporter: Jonathan Halliday
>            Assignee: Jonathan Halliday
>            Priority: Minor
>             Fix For: 5.8.0.Final
>
>
> The ThreadUtil changes introduced for the bug fix under JBTM-2673, cause lock contention on the static WeakHashMap under high load.
> The proposed fix is to partially reintroduce the earlier behavior of caching the value in a ThreadLocal, since the dominant use case is pooled threads repeatedly looking up their own identity. The global lookup capability introduced for the fix remains necessary for less common use cases, but the locking can be taken off the critical path for most workloads.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossts-issues mailing list