[
https://jira.jboss.org/jira/browse/EJBTHREE-1549?page=com.atlassian.jira....
]
Andrew Lee Rubinger updated EJBTHREE-1549:
------------------------------------------
Attachment: EJBTHREE-1549_Tests.patch
Added Unit Tests in progress, need to extract out the parts that lock up in the tests
themselves, and provide a way to trigger passivation programmatically instead of relying
on a Thread.sleep
SimpleStatefulCache blocks invocation and new session lookups during
passivation
--------------------------------------------------------------------------------
Key: EJBTHREE-1549
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1549
Project: EJB 3.0
Issue Type: Bug
Components: core
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Priority: Critical
Fix For: 1.0.0-CR1
Attachments: EJBTHREE-1549_Tests.patch
During passivation we perform a long-lived synchronization on the internal cacheMap,
which restricts both requests to get new sessions as well as invocations upon other
sessions until passivation is completed.
The synchronization cannot simply be removed, better possibility may be to apply a
copyOnWrite or copyOnPassivate-type implementation
--
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