gnodet commented on PR #893:
URL: https://github.com/apache/maven/pull/893#issuecomment-1344854328

   So the PR works with 1 one thread here, but may deadlock irrespective on the 
number of threads.
   The deadlock happen in the following scenario : 3 projects P1, P2, P3, P3 
depends on P2, P2 depends on P1.  The three projects are submitted to the FJ 
pool, which is able to steal work, so that jobs may be executed without any 
particular order.
   So P2 is being executed, which requires P1. P1 is being joined by the FJ, 
but it decides to execute P3. P3 is being executed in the same thread and then 
waits for P2 being finished which can't happen.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to