Class unloading issue
还没有人认领这个 Issue。
评估
调研方向
首先检查 PR #135 以及 issue 中提到的类卸载测试。确认该测试能够证明类已卸载,并且编译器对类的相关引用不再阻止 GC 回收该类。
由索引模型根据 Issue 内容生成。
描述
Even though the compiler is using WeakHashMap, class unloading does not work due to the circular dependency between the key - class loader and the value - the class.
PR #135 addresses the issue by wrapping the class with WeakReference. I have also added a test that triggers class unloading to prove wrapping the class was enough to make the GC reclaim it.
- 主要语言
- Java
- 星标
- 708
- 派生
- 147
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenHFT/Java-Runtime-Compiler 的其他 Issue
-
review
OpenHFT/Java-Runtime-Compiler#130 · 2 条评论 · 已指派 1 人 ·
-
review
OpenHFT/Java-Runtime-Compiler#123 · 已指派 1 人 ·
-
review
OpenHFT/Java-Runtime-Compiler#122 · 已指派 1 人 ·
-
question review
OpenHFT/Java-Runtime-Compiler#91 · 9 条评论 · 8 个 reaction · 已指派 1 人 ·
查看 OpenHFT/Java-Runtime-Compiler 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
难度 1/5 1 小时以内 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
FasterXML/jackson-databind#6229 ·