Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在AdviceAdapterListener 中的 before 阶段直接使用 returnImmediately 方法修改返回值导致内存溢出 #117

Closed
ji-shang opened this issue Dec 3, 2018 · 1 comment

Comments

@ji-shang
Copy link

ji-shang commented Dec 3, 2018

操作环境

... ...
操作系统 Linux
JVM版本 OpenJDK-8.0.5
沙箱容器版本 1.1.0
沙箱API版本 1.0.16

问题描述

AdviceAdapterListener中是依靠BEFORE和[RETURN/THROWS]成对出现来保证堆栈是正确的。但
ProcessController.returnImmediately() 之后,就不会再继续产生RETURN事件了,产生的是ImmediatelyReturnEvent事件,而AdviceAdapterListener恰恰没有声明处理它, 导致对象无法释放, 最终内存溢出

dongchenxu pushed a commit that referenced this issue Dec 11, 2018
添加LOGO
增加测试用例日志
完善模块管理日志
提交CoreLoadedClassDataSource的单元测试
完成CoreModuleManager测试用例
提交CoreModuleManager的单元测试
优化import
修复问题 #117
完善测试用例
修复重复查询user_module的BUG
dongchenxu pushed a commit that referenced this issue Dec 11, 2018
添加LOGO
增加测试用例日志
完善模块管理日志
提交CoreLoadedClassDataSource的单元测试
完成CoreModuleManager测试用例
提交CoreModuleManager的单元测试
优化import
修复问题 #117
完善测试用例
修复重复查询user_module的BUG
@dongchenxu
Copy link
Collaborator

1.2.0版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants