Comments (4)
应该没有用模块化
请实际具体核实。 @luger1990
@luger1990 请给 一个 极简的 可运行复现问题 的代码实现/Demo。❤️
推荐提供成一个单独的工程(Github repo)。这样可以
- 方便大家能排查分析(只提供运行结果,排查信息不足)
- 方便分离不相关的业务实现内容,以及排除可能的业务使用问题
PS:
TTL v2.x
的持续集成 包含了JDK 17
下Agent
运行方式的测试,且是OK的。 其中一次运行 https://github.com/alibaba/transmittable-thread-local/actions/runs/4776850295/jobs/8492153720
好的 我试试。多谢!
from transmittable-thread-local.
@luger1990 你的这个应用使用了java9 jigsaw
模块化?
你可以先查一下使用模块化需要的额外配置。
PS:TTL
库目前没有java9 jigsaw
模块化。
from transmittable-thread-local.
@luger1990 你的这个应用使用了
java9 jigsaw
模块化? 你可以先查一下使用模块化需要的额外配置。PS:
TTL
库目前没有java9 jigsaw
模块化。
应该没有用模块化,用的是jdk17
from transmittable-thread-local.
应该没有用模块化
请实际具体核实。 @luger1990
@luger1990 请给 一个 极简的 可运行复现问题 的代码实现/Demo。
推荐提供成一个单独的工程(GitHub repo)。这样可以
- 方便大家能排查分析(只提供运行结果,排查信息不足)
- 方便分离不相关的业务实现内容,以及排除可能的业务使用问题
PS:
TTL v2.x
的持续集成 包含了JDK 17
下Agent
运行方式的测试,且是OK的。
其中一次运行 https://github.com/alibaba/transmittable-thread-local/actions/runs/4776850295/jobs/8492153720 。
from transmittable-thread-local.
Related Issues (20)
- withInitialAndCopier method is incompatible with versions before jdk1.8 HOT 1
- skywalking集成ttl 采集多线程数据无效 HOT 1
- 复现TransmittableThreadLocal数据在「不用TtlExecutors包裹的线程池」中概率丢失。 HOT 1
- TTL是否适用于tomcat的StandardThreadExecutor,尝试了agent的方式和显式包装的方式都不行 HOT 1
- 线程池每次执行完成后默认将上下文还原至调用线程的上下文原状,可以执行完成后将线程中的上下文全部清除掉吗 HOT 1
- 集成`Spring Reactor` HOT 1
- jdk11 报错。 HOT 4
- ttl是否不支持rocketMQ的上下文传递 HOT 1
- 在CompletableFuture中使用TTL,主线程执行完成,但CompletableFuture未完成,是否可以可以释放上下文,主线程释放上下文后,CompletableFuture是否还能拿到TTL的值 HOT 1
- agent中对普通Thread场景进行包装,来触发copy方法 HOT 2
- agent方式使用TTL,jdk从8升到11之后项目启动报错 类重复加载: java.lang.LinkageError: loader java.net.URLClassLoader attempted duplicate class HOT 3
- “业务项目”在通过bytebuddy增强后,TTL+CompletableFuture无法再正常地进行上下文传递。 HOT 1
- 关于不修饰runnable使用ttl导致子线程泄露问题 HOT 3
- -
- 与其他探针放在一起使用的时候,如果ttlagent顺序在其他探针之后,探针失效无法跨线程 HOT 7
- 关于registerThreadLocal方法加锁和copy on write疑问 HOT 1
- 有必要关闭Inheritable能力么 HOT 5
- TTL使用完成后需要remove掉当前线程的值吗?如果不删除会不会引发OOM? HOT 3
- 主线程执行完后会remove,但是子线程执行完成后会restore恢复本地变量,子线程中的值变量如何清除? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transmittable-thread-local.