You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/12/09 22:37:45 UTC

[GitHub] [maven] gnodet commented on pull request #893: [MNG-7615] Multithreaded model builder

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-unsubscribe@maven.apache.org

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