Bug 900699 (JBPAPP6-925)
| Summary: | CLONE - Weld - Deadlock between Weld AbstractContext session/application contexts creationLock | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Marek Schmidt <maschmid> | ||||||||
| Component: | unspecified | Assignee: | Shelly McGowan <smcgowan> | ||||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 6.0.0 | CC: | ales.justin, maschmid, rajesh.rajasekaran, sgilda, smcgowan, twells | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | EAP 6.0.1 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-925 | ||||||||||
| Whiteboard: | eap601candidate | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: |
JBoss AS 7.1.2.Final
|
|||||||||
| Last Closed: | 2012-10-19 00:12:51 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Marek Schmidt
2012-07-10 14:11:34 UTC
Link: Added: This issue Cloned from WELD-1159 Security: Added: Public Docs QE Status: Added: NEW Labels: Added: eap601candidate The upstream issue seem to be fixed. Assigning to Shelly to accordingly set the fix version and make sure the upstream fixes are pulled in. Verified on EAP 6.0.1.ER2 Does this need a release note for EAP 6.0.1? If so, the issue needs to be re-opened and the release notes flags set (Affects Release Notes, Not Yet Documented). If not, the issue needs to be re-opened and the release notes flag set to "Release notes not required". Release Notes Docs Status: Added: Not Yet Documented Affects: Added: Release Notes reopening for RN Release Notes Text: Added: A possible deadlock could occur between Weld AbstractContext session and application contexts creationLock if two requests in the same session are run and a bean instance is produced inside a different-scoped producer. reopening for release notes updates Writer: Added: elogue Writer: Removed: elogue Added: tomwells Release Notes Docs Status: Removed: Not Yet Documented Added: Needs More Info Hey Marek, What was done to prevent the deadlock? The core of the fix is this commit: https://github.com/weld/core/commit/b5095b8e17718e0cb9b443cd2c1388aca460ba86 The per context creation lock in the AbstractContext has been replaced by a a more fine-grained per bean-id creation lock in the bean store. Release Notes Docs Status: Removed: Needs More Info Added: Documented as Resolved Issue Release Notes Text: Removed: A possible deadlock could occur between Weld AbstractContext session and application contexts creationLock if two requests in the same session are run and a bean instance is produced inside a different-scoped producer. Added: A possible deadlock could occur between the Weld AbstractContext session and an application context's creationLock if two requests in the same session were run, and a bean instance was produced inside a different-scoped producer. The per context creation lock in AbstractContext has been replaced by a more fine-grained per bean-id creation lock in the bean store. A deadlock will no longer occur. Release Notes Docs Status: Removed: Documented as Resolved Issue Writer: Removed: tomwells Release Notes Text: Removed: A possible deadlock could occur between the Weld AbstractContext session and an application context's creationLock if two requests in the same session were run, and a bean instance was produced inside a different-scoped producer. The per context creation lock in AbstractContext has been replaced by a more fine-grained per bean-id creation lock in the bean store. A deadlock will no longer occur. Docs QE Status: Removed: NEW |