You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "songxiaosheng (via GitHub)" <gi...@apache.org> on 2023/07/01 02:29:43 UTC

[GitHub] [dubbo] songxiaosheng commented on issue #12620: dubbo3.1.5版本BUG!!!,启动是出现线程死锁导致启动服务失败

songxiaosheng commented on issue #12620:
URL: https://github.com/apache/dubbo/issues/12620#issuecomment-1615373828

   - main线程
      - 持有: 
         - 0x00000006c4b96140 这把锁的类型是DefaultModuleDeployer   private synchronized Future startSync()
         - 0x000000078da98a88   ServiceBean
     - 等待锁:
       -  0x00000006c3a75060 ConcurrentHashMap  Spring广播器使用到的
   hsTaskScheduler线程
       - 持有:
          - 0x00000006c61d99e8  DubboReferenceLazyInitTargetSource
          - 0x00000006c3a75060  ConcurrentHashMap  创建Bean时使用到的
       - 等待 0x00000006c4b96140 DefaultModuleDeployer     
   
   两把锁 一个线程先拿Spring的Map锁,再拿Dubbo的Deployer锁,一个线程先拿Dubbo的Deployer锁,再拿Spring的Map锁
   
   
   
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org