apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.34k stars 26.4k forks source link

[Bug] fix AbortPolicyWithReport may repeatedly jstack when threadPool is exhausted #14467

Open code4china opened 1 month ago

code4china commented 1 month ago

Pre-check

Search before asking

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo Java 3.2.12

Steps to reproduce this issue

What you expected to happen

jStackCount must equal 1, because AbortPolicyWithReport will silence TEN_MINUTES_MILLS to avoid jstack's count

Anything else

This issue may cause JVM hang for a short time, it should be fixed as soon as possible!

Are you willing to submit a pull request to fix on your own?

Code of Conduct

wcy666103 commented 1 month ago

Can you help us fix this by submitting a pr?