-
```sh
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000010a119f97, pid=56172, tid=77831
#
# JRE version: Java(TM) SE Runtime Environment 18.9…
-
场景:
1、自定一个Task实现Runnable和Comparable接口。
2、创建ThreadPoolExecutor时,绑定一个PriorityBlockingQueue来实现任务按优先级执行。
-
线程池同时运行很多任务的时候会出现这个异常,请问有什么解决办法吗?
```java
java.util.ConcurrentModificationException: null
at java.util.WeakHashMap$HashIterator.nextEntry(WeakHashMap.java:806)
at java.util.WeakHashMap$KeyIter…
-
When the client concurrency is large, blocked may occur
## Describe the bug
APM 1.24.0/1.25.0
production environment:
```
"http-nio-8080-exec-3" #334 daemon prio=5 os_prio=0 tid=0x000…
-
```java
// com.example.demo.TestServiceTest.java
@RunWith(SpringRunner.class)
@SpringBootTest
public class TestServiceTest {
@Autowired
private TestService testService;
public sta…
-
![image](https://user-images.githubusercontent.com/19304073/116645307-1d883e00-a9a8-11eb-88f4-f2934516ac26.png)
![image](https://user-images.githubusercontent.com/19304073/116645321-2a0c9680-a9a8-11e…
-
# 提供反例式的回答
> ## 如果直接用map,在capture 时清理map中的数据,同时在restore 清理map中的数据,会有什么影响?
你说的是 map 是指 `holder`吗?如果是,说明如下:
### 『在capture 时清理map中的数据』 的问题
```java
ExecutorService executorService = ...
Ru…
-
### 使用方式/环境信息:
- jdk 1.8
- 未使用TTL agent
- 需要依赖lombok、ttl
- 仅使用了CompltetableFuture 和 ttl
### 源码
![20210609145410](https://user-images.githubusercontent.com/38499411/121307396-86ad8a80-c932…
-
这种继承的`Threadlocal`,如果嵌入层次比较深,最后没有调用 `remove()` 方法,是否会引起内存泄露?
-
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [ ] Bug
- [ 1] Requirement
- [ ] Feature or performance improvement
…