You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"http-nio-8080-exec-37" #2529 [2620] daemon prio=5 os_prio=0 cpu=78112.28ms elapsed=319869.07s tid=0x00007fa8f3cf2d90 nid=2620 waiting on condition [0x00007fa3bdf91000]
java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@21.0.5.0.5/Native Method)
- parking to wait for <0x00000005d1c3e778> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
at java.util.concurrent.locks.LockSupport.park(java.base@21.0.5.0.5/LockSupport.java:221)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@21.0.5.0.5/AbstractQueuedSynchronizer.java:754)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(java.base@21.0.5.0.5/AbstractQueuedSynchronizer.java:1079)
at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(java.base@21.0.5.0.5/ReentrantReadWriteLock.java:738)
at org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:478)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:720)
at com.tbc.app.els.business.service.plancoursescheme.PlanCourseSchemeServiceImpl$$SpringCGLIB$$0.getPlanCourseSchemeByCondition(<generated>)
at com.tbc.app.els.business.service.coursestudyrecord.ElsCourseStudyRecordServiceImpl.packCourseStudyRecords(ElsCourseStudyRecordServiceImpl.java:8608)
程序运行一段时间后,所有线程都卡在 org.springframework.cloud.context.scope.GenericScope.LockedScopedProxyFactoryBean#invoke 方法 478行。
使用的是:
JDK 21
spring-boot 3.2.12
spring-cloud-starter 4.1.4
spring-cloud-context-4.1.4
spring-cloud-starter-alibaba-nacos-config 2023.0.3.3
spring-alibaba-nacos-config 2023.0.3.3
dubbo-spring-boot-starter 3.3.5
PlanCourseSchemeServiceImpl 类增加了 @RefreshScope 注解。