Senrian

Results comments of Senrian

## PR Available I have submitted a fix for this issue. The root cause is a race condition during shutdown: 1. When Spring context closes, `NacosGracefulShutdownDelegate` (which listens for `ContextClosedEvent`)...

## PR Available Same root cause as #4247. Fixed in: https://github.com/alibaba/spring-cloud-alibaba/pull/4283 The race condition: when Spring context closes, `NacosGracefulShutdownDelegate` tries to call `stop()` which deregisters from `NotifyCenter`, but `NotifyCenter.INSTANCE` may...

Hi, could you please elaborate on your question? I\m happy to help clarify the changes in this PR.

这个文档是正确的。JDK AQS中 `tryAcquire(int)` 和 `tryReleaseShared(int)` 的参数类型都是 `int`,不是 `boolean`。参考JDK源码: ```java // AbstractQueuedSynchronizer.java protected boolean tryAcquire(int acquires) { ... } protected boolean tryReleaseShared(int releases) { ... } ``` AQS的所有tryXxx方法(tryAcquire、tryRelease、tryAcquireShared、tryReleaseShared)的参数类型都是 `int`。文档中的描述与JDK实现一致。