[BUG]Metaspace被打爆了,同一个类被加载了N次
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
### 问题描述
*简要描述您碰到的问题。*
### 环境信息
*请填写以下信息:*
- OS信息: [e.g.:CentOS 8.4.2105 4Core 3.10GHz 16 GB]
- JDK信息: [e.g.:Openjdk 1.8.0_312]
- 版本信息:[e.g.:Fastjson2 2.0.53]
### 重现步骤
*如何操作可以重现该问题:*
仅使用简单的序列化和反序列化
#### 附加信息

Contributor guide
Research direction
No source file, test, or entry point is named. Start by reproducing the problem with the reported simple serialization and deserialization flow, then inspect class loading and Metaspace usage to determine why the same class is loaded repeatedly. Done means the repeated loading and Metaspace exhaustion are prevented and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100