afs commented on issue #2787:
URL: https://github.com/apache/jena/issues/2787#issuecomment-2435110319

   I think the solution is to go back to #2675 and look to fix the 
class-initializer problem.
   
   Then don't allow the initialzing thread to recursive execute body of 
synchronized (`singleton.initialize()`). That seems to be the trigger.
   
   There is no alternative orders of taking locks which is the deadlock.
   
   The #2675/8654c07 is a non-concurrency ordering problem in a single thread - 
i.e. a cyclic class initialization. That needs investigating anyway. 
   
   Requiring usage to only have single threaded initialization coudl be quite a 
problem in environments that have multithreadign and then use Jena as a library.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to