[JBoss JIRA] Created: (JBTM-599) Synchronization problem in CacheStore
by Andrew Dinn (JIRA)
Synchronization problem in CacheStore
-------------------------------------
Key: JBTM-599
URL: https://jira.jboss.org/jira/browse/JBTM-599
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Andrew Dinn
This bug manifests occasionally when running the CachedTest. The AsyncStore thread suspends inside its run method on a (120 sec) timed wait because the cache is not full. When I managed to catch this case in the debugger I found that there were many writer threads (~30) suspended inside addWork in an untimed wait on the overflow lock. So, these writing threads make no progress for 120 seconds. The AsyncStore thread does notify the object on which the writers are waiting but there is clearly a window where the writers can go to sleep while the cache is full and not get notified when the AsyncStore thread has emptied it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBTM-816) Adding names to reaper and action store scanner threads.
by Jeremy Whiting (JIRA)
Adding names to reaper and action store scanner threads.
--------------------------------------------------------
Key: JBTM-816
URL: https://jira.jboss.org/browse/JBTM-816
Project: JBoss Transaction Manager
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: JTS, Recovery, XTS
Environment: All environments.
Reporter: Jeremy Whiting
Priority: Optional
Currently the threads for transaction processing do not have names. It would be an improvement to add names to each thread making identification easier during profiling.
This patch includes changes to the transaction reaper, the reaper worker, action store scanner and the XTS reaper worker.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years