You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yanhom1314
changed the title
ScheduledDtpExecutor增强execute方法,导致DtpRunnable在beforeExecute、afterExecute时获取不到,map清理不掉,有内存溢出风险
ScheduledDtpExecutor 增强 execute方法,导致功能 map 清理不掉,有内存溢出风险
Oct 22, 2024
首先感谢您使用 DynamicTp,如果使用过程中有任何问题,请按照下述模板反馈问题,请使用 Markdown 语法。
版本信息
问题描述
ScheduledThreadPoolExecutorProxy 的 schedule、scheduleAtFixedRate 等方法通过 AwareManager.execute 做增强,会将DtpRunnable 存储在一些功能 map 中,ScheduledThreadPoolExecutor 任务提交后内部会包装成 ScheduledFutureTask,导致在 beforeExecute、afterExecute 阶段从 map 中删不掉,有内存溢出风险。
The text was updated successfully, but these errors were encountered: