-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
关于TtlForkJoinTransformlet中直接修改ForkJoinTask的实现 #205
Comments
关于 添加
transmittable-thread-local/pom.xml Lines 268 to 272 in 06ec7da
@Yelijah 有了验证结果,可以反馈一下 :") PS: 关于运行时动态加载
能展开来说一下你的需求场景、问题吗? @Yelijah 这样能够
修饰 相关的说明Issue:
相关的更多说明参见:
上面提到的 |
需要动态agent的场景是:
|
为了避免升级改动业务代码,让像中间件基础这类的解决方案对业务更透明(如 可能很难有 其它更好的透明技术方案,当然对应要做的是 配置 也期望业界 能找到 更简单(如 无需 |
因为一些特殊原因, 必须要运行时动态
agent
,现已基本完成。但是
java.lang.instrument.Instrumentation#retransformClasses
不支持在transform
中为ForkJoinTask
添加fields
:Q1. 不知能否改写TtlForkJoinTransformlet, 使其不直接修改ForkjoinTask, 转而修改ForkJoinPool?
Q2. 并且TtlCallable和TtlRunnable都是通过包装类形式实现, 为何TtlRecursiveTask会是抽象类实现?
The text was updated successfully, but these errors were encountered: