[jbossts-issues] [JBoss JIRA] (JBTM-2867) Investigate un-_workList protected access to _work object

Tom Jenkinson (Jira) issues at jboss.org
Thu Feb 21 06:07:02 EST 2019

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

Tom Jenkinson updated JBTM-2867:
    Fix Version/s: 5.next
                       (was: 5.9.3.Final)

> Investigate un-_workList protected access to _work object
> ---------------------------------------------------------
>                 Key: JBTM-2867
>                 URL: https://issues.jboss.org/browse/JBTM-2867
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>            Reporter: Tom Jenkinson
>            Assignee: Tom Jenkinson
>            Priority: Major
>             Fix For: 5.next
> During investigation of JBTM-2865 it was detected that the _work object can be accessed outside of the _workList synchronized block. Notably this seems to be a .remove() operation on it which can mutate the struct and may cause issues.
> For example, this looks wrong:
> https://github.com/tomjenkinson/narayana/blob/adda493b7bbd030eb405e3ef20978dc5d30ac5c2/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/objectstore/CacheStore.java#L703
> If
> https://github.com/tomjenkinson/narayana/blob/adda493b7bbd030eb405e3ef20978dc5d30ac5c2/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/objectstore/CacheStore.java#L187

This message was sent by Atlassian Jira

More information about the jbossts-issues mailing list