how to reproduce

  • I make a demo to reproduce the problem.
  • problem: the spring project may be deadlocked by log info format message and the projcet start failed. This happened online.
  • detailInfo: https://github.com/walkertest/springdemo/blob/main/doc/logbackdeadlock.md

some env

java.version: 1.8.0_361
springboot: 2.7.15
aspectjweaver: 1.9.20

I don't know how to avoid this problem, wish your response. Thanks first.

Comment From: wilkinsona

Thanks for the report but I don't think we can do anything about this as the synchronization in AspectJ and the JDK is out of our control. You may want to ask the AspectJ community for some advice.

Comment From: walkertest

https://github.com/eclipse-aspectj/aspectj/issues/259

Aspectj community response.