AbortPolicyWithReport 会导致jvm 暂停
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
触发AbortPolicyWithReport JVMUtil.jstack(jstackStream);的时候,会导致虚拟机暂停,特别是比较大内存的程序时,是不是可以增加一个开关,当“hread pool is EXHAUSTED”,可以关闭dumpJStack,这样不影响整个虚拟机
### Environment
* Dubbo version: 2.6.8
* Operating System version: debian 9
* Java version: 1.8
### Steps to reproduce this issue
1. xxx
2. xxx
3. xxx
Pls. provide [GitHub address] to reproduce this issue.
### Expected Result
What do you expected from the above steps?
### Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
```
Just put your stack trace here!
```
Contributor guide
Research direction
Start by inspecting AbortPolicyWithReport and the JVMUtil.jstack entry point, then reproduce the behavior when the thread pool is exhausted using the reported Java 8 and Debian 9 environment. Done should mean a configurable way to suppress the JStack dump and prevent the JVM pause, with coverage for the exhausted-pool path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100