Part of #423: Race condition potential in ApplicationManager concurrent operations
Problem
Multiple methods in ApplicationManager acquire locks in different orders, creating potential for deadlock. When methods acquire per-application locks and the global applications map lock in inconsistent order, two threads can each hold one lock while waiting for the other.
Location
platform-core/src/main/java/org/flossware/platform/core/ApplicationManager.java
Tasks
Acceptance Criteria
- All methods that acquire multiple locks do so in the same documented order
- No deadlock possible between any two concurrent method calls
Part of #423: Race condition potential in ApplicationManager concurrent operations
Problem
Multiple methods in
ApplicationManageracquire locks in different orders, creating potential for deadlock. When methods acquire per-application locks and the global applications map lock in inconsistent order, two threads can each hold one lock while waiting for the other.Location
platform-core/src/main/java/org/flossware/platform/core/ApplicationManager.javaTasks
Acceptance Criteria